通达信可变突破主图及选股指标公式
2020/10/1 18:57:26
N:=5;
LT:=LLVBARS(L,N);
A1:=BACKSET(BARSTATUS=2,LT+1);
A2:=BACKSET(BARSTATUS=2,N+LT+1);
HH:=IF(A2 AND NOT(A1),H,0);
HT:=HHVBARS(HH,0);
A3:=BARSLAST(CROSS(BACKSET(BARSTATUS=2,HT+1),0.5));
A:REF(H,A3);
{
选股公式:
N:=5;
LT:=LLVBARS(L,N);
A1:=BACKSET(BARSTATUS=2,LT+1);
A2:=BACKSET(BARSTATUS=2,N+LT+1);
HH:=IF(A2 AND NOT(A1),H,0);
HT:=HHVBARS(HH,0);
A3:=BARSLAST(CROSS(BACKSET(BARSTATUS=2,HT+1),0.5));
A:=REF(H,A3);
选股:CROSS(C,A);
}
投 股票网 www.to u18.cn
股市公式下载推荐