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;
202108211154.jpg
|