|
立即注册,结交更多股友,获取更多金钻指标,让你轻松遨游股市。
您需要 登录 才可以下载或查看,没有账号?立即注册
x
要一个双叠加,于是写了出来,只是一种写指标的模式和方法,为指标热爱者提供一种思路!
MA5:MA(CLOSE,5),COLORFF00FF,LINETHICK0;
MA13:MA(C,13),COLOR00FFFF,LINETHICK0;
MA34: MA(CLOSE,34),COLORRED,LINETHICK0;
MA55: MA(CLOSE,55),COLORFF0090,LINETHICK0;
HH0:=CONST(HHV(C,150));
LL0:=CONST(LLV(C,150));
HL:=CONST(IF(CONST((HH0+LL0)/2)CONST(C),HH0,HL);
LL1:=IF(CONST((HH0+LL0)/2)CONST(C),LL0*0.95-(HH0-LL0)*0.1,HH0*0.95+(HH0-LL0)*0.1));
HLMAX:=MAX(HH1,LL1);
HLMIN:=MIN(HH1,LL1);
HLMN1:=(HLMAX+HLMIN)/2;
HLMN2:=HLMAX-HLMIN;
STICKLINE(C,HH1,(HH1+LL1)/2,5,0),COLOR858500;
STICKLINE(C,LL1,(HH1+LL1)/2,5,0),COLOR330000;
STICKLINE(C,(0.75-0.5)*HLMN2/0.5+HLMN1,(1-0.5)*HLMN2/0.5+HLMN1,5,0),
COLOR000088;
STICKLINE(C,(0.25-0.5)*HLMN2/0.5+HLMN1,(0-0.5)*HLMN2/0.5+HLMN1,5,0),
COLOR555555;
STICKLINE("KDJ.K"(9,3,3)>"KDJ.D"(9,3,3),("KDJ.K"(9,3,3)/100-0.5)*HLMN2/0.5
+HLMN1,("KDJ.D"(9,3,3)/100-0.5)*HLMN2/0.5+HLMN1,1.5,0),COLOR5955FF;
STICKLINE("KDJ.K"(9,3,3)0,"MACD.MACD"*2+HL2,HL2,1,0),COLOR400080;
STICKLINE("MACD.MACD">0 AND "MACD.MACD">REF("MACD.MACD",1),
"MACD.MACD"*2+HL2,HL2,1,0),COLOR00FFFF;
STICKLINE("MACD.MACD"
我知道答案
本帖寻求最佳答案回答被采纳后将获得系统奖励 10 股币 , 目前已有 0人回答
|
|