右大智慧操盘线修改而成,融入了决策主图的风格,增加了成本均线!(源码 主图 贴图)介绍
右大智慧操盘线修改而成,融入了决策主图的风格,增加了成本均线!(源码 主图 贴图)
N1:=5;
N2:=13;
N3:=34;
a:=MONEY/(VOL);
短线:MA(a,n1);
中线:MA(a,n2);
长线:MA(a,n3);
无穷:DMA_(CLOSE,VOL/SHGZG);
MA5:=MA(CLOSE,5);
BB:=SMA(SMA(SMA(MA5,2,1),2,1),2,1);
决策:=MA(BB,3);
FILLRGN(BB,决策,BB>=决策,colorred,BB<决策,colorgreen);
bu:=CROSS(HIGH,SAR(3,1,20));
sel:=CROSS(SAR(3,1,20),LOW);
var1:=BARSLAST(NOT(HIGH<SAR(3,1,20)));
var2:=BARSLAST(NOT(LOW>SAR(3,1,20)));
DRAWICON(bu,LOW*0.99,"BUY");
DRAWICON(sel,HIGH*1.01,"SELL");
STICKLINE(LOW>SAR(3,1,20) AND CLOSE<OPEN,HIGH,OPEN,0.5,1),colorred;
STICKLINE(LOW>SAR(3,1,20) AND CLOSE<OPEN,CLOSE,OPEN,7.5,0),colorred;
STICKLINE(LOW>SAR(3,1,20) AND CLOSE<OPEN,CLOSE,LOW,0.5,1),colorred;
STICKLINE(HIGH<SAR(3,1,20) AND CLOSE>OPEN,HIGH,CLOSE,0.5,1),colorcyan;
STICKLINE(HIGH<SAR(3,1,20) AND CLOSE>OPEN,CLOSE,OPEN,7.5,0),colorcyan;
STICKLINE(HIGH<SAR(3,1,20) AND CLOSE>OPEN,OPEN,LOW,0.5,1),colorcyan;
gd14636