价格区间统计主图源码
公式源码:由彩虹桥投资充电站(www.xuexi199.com)整理
时长:=120;
换手次数:=2;
选择方式:=1;
统计时长:IF(选择方式=1,CONST(SUMBARS(V/FINANCE(7)*100,换手次数)),时长),NODRAW;
KK:=统计时长;
高:=CONST(HHV(H,KK));
低:=CONST(LLV(L,KK));
STICKLINE(CURRBARSCOUNT=KK,高,低,0,0);
XX:=(高-低);
均价:AMOUNT/V/100,NODRAW;
L0:=低+XX*0/9;
L1:=低+XX*1/9;
L2:=低+XX*2/9;
L3:=低+XX*3/9;
L4:=低+XX*4/9;
L5:=低+XX*5/9;
L6:=低+XX*6/9;
L7:=低+XX*7/9;
L8:=低+XX*8/9;
L9:=低+XX*9/9;
MLZ:=SUM((CURRBARSCOUNT
ML1:=SUM((CURRBARSCOUNT
STICKLINE(CURRBARSCOUNT
ML2:=SUM((CURRBARSCOUNT
STICKLINE(CURRBARSCOUNT
ML3:=SUM((CURRBARSCOUNT
STICKLINE(CURRBARSCOUNT
ML4:=SUM((CURRBARSCOUNT
STICKLINE(CURRBARSCOUNT
ML5:=SUM((CURRBARSCOUNT
STICKLINE(CURRBARSCOUNT
ML6:=SUM((CURRBARSCOUNT
STICKLINE(CURRBARSCOUNT
ML7:=SUM((CURRBARSCOUNT
STICKLINE(CURRBARSCOUNT
ML8:=SUM((CURRBARSCOUNT
STICKLINE(CURRBARSCOUNT
ML9:=SUM((CURRBARSCOUNT
STICKLINE(CURRBARSCOUNT
DRAWKLINE(HIGH,OPEN,LOW,CLOSE);
MA1:MA(CLOSE,5);
MA2:MA(CLOSE,10);
MA3:MA(CLOSE,30);
MA4:MA(CLOSE,60);
DRAWTEXT_FIX(C>O,0.85,0.001,0,''彩虹桥投资充电站'),COLORFF7F00;
不懂的可以关注私信我!