N:=3;
P1:=0;
N1:=6;
M:=14;
VAR100:=DMA(AMOUNT/V/100,V/CAPITAL);
筹码线:VAR100*1.1,COLORWHITE,LINETHICK2;{1.1}
牛熊线:COST(75),COLORBLUE,LINETHICK2;
持仓线:MA(CLOSE,20) ,COLORYELLOW,LINETHICK0;
STICKLINE(C>0,O,C,8,0), COLORBLUE;
STICKLINE(C>0,H,L,0.8,0) ,COLORBLUE;
A:=CLOSE>筹码线 AND CLOSE>牛熊线 AND CLOSE>持仓线;
B:=CLOSE>筹码线 AND CLOSE<牛熊线 AND CLOSE>持仓线;
STICKLINE(A>0,O,C,8,0) ,COLORYELLOW;
STICKLINE(A>0,H,L,0.8,0), COLORYELLOW;
STICKLINE(B>0,H,L,0.8,0), COLORMAGENTA;
STICKLINE(B>0,O,C,8,0), COLORMAGENTA;
p20193211822951438.jpg
|