通达信财神爷买卖指标公式
通达信财神爷买卖指标公式:
LC:=REF(C,1);
K9:=SMA((C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100,3,1),COLORFF9999;
D9:=SMA(K9,3,1),COLORFFCC00;
J9:=(3*K9-2*D9),COLORFFCC00;
K20:=EMA((C-LLV(L,20))/(HHV(H,20)-LLV(L,20))*100,20);
K30:=EMA((C-LLV(L,30))/(HHV(H,30)-LLV(L,30))*100,20);
XX0:=2+(K20+K30)/2;
VVV:=V>REF(V,1) AND (MA(V,5)>REF(MA(V,5),1) OR MA(V,10)>REF(MA(V,10),1));
MA5:MA(C,5);
红财神:=IF(C>=MA(C,5) AND C>=MA(C,60) AND MA(C,5)>=REF(MA(C,5),1) AND MA(C,10)>=REF(MA(C,10),1)
AND MA(C,20)>=REF(MA(C,20),1) AND MA(C,40)>=REF(MA(C,40),1) AND MA(C,60)
>=REF(MA(C,60),1) AND LC<=REF(C,2) AND (REF(MA(C,10),1)<=REF(MA(C,10),2) OR
REF(MA(C,40),1)<=REF(MA(C,40),2) OR REF(MA(C,60),1)<=REF(MA(C,60),2)
OR LC<=REF(MA(C,60),1) OR (LC<=REF(MA(C,10),1) AND C>MA(C,10))) AND
HHV(J9,4)<110 AND VVV AND C>LC*0.985 AND HHV(H,5)<LLV(L,70)*1.3 AND
HHV(H,40)<LLV(L,40)*1.3 AND (C<LC*1.06 OR C>LC*1.0985) AND C*1.018>H,1,0);
红财神1:=IF(((C>=MA(C,5) AND C>=MA(C,10) AND MA(C,5)>=REF(MA(C,5),1) AND
MA(C,10)>=REF(MA(C,10),1) AND MA(C,20)>=REF(MA(C,20),1) AND LC<=REF
(C,2) AND HHV(J9,4)<118 AND REF(V,1)>REF(V,2)*3 AND C>LC)),1,0);
黄财神:=IF((J9<-16 OR K9<7 OR D9<10) AND C>LC*0.9014,1,0);
STICKLINE(红财神=1 OR 红财神1=1,L*0.92,L*0.87,22,0),COLORCC33FF;
STICKLINE(红财神=1 OR 红财神1=1,L*0.87,L*0.86,16,0),COLORCC33FF;
STICKLINE(红财神=1 OR 红财神1=1 OR FILTER(黄财神=1,4),L*0.95,L*0.96,18,0),COLOR009999;
STICKLINE(红财神=1 OR 红财神1=1 OR FILTER(黄财神=1,4),L*0.97,L*0.95,5,0),COLOR555555;
STICKLINE(红财神=1 OR 红财神1=1 OR FILTER(黄财神=1,4),L*0.96,L*0.95,9,0),COLOR555555;
STICKLINE(红财神=1 OR 红财神1=1 OR FILTER(黄财神=1,4),L*0.95,L*0.93,8,0),COLOR0088CC;
STICKLINE(红财神=1 OR 红财神1=1 OR FILTER(黄财神=1,4),L*0.86,L*0.84,14,0),COLORFFFFFF;
STICKLINE(FILTER(黄财神=1,4),L*0.92,L*0.87,22,0),COLOR00CCFF;
STICKLINE(FILTER(黄财神=1,4),L*0.87,L*0.86,16,0),COLOR00CCFF;
DRAWICON(FILTER(黄财神=1,4) OR 红财神=1 OR 红财神1=1,L*0.89,7);
蓝财神:=IF(C<MA(C,5) AND MA(C,5)<REF(MA(C,5),1) AND MA(C,10)<REF(MA(C,10),1)
AND MA(C,20)<=REF(MA(C,20),1) AND MA(C,40)<=REF(MA(C,40),1) AND LC>=
REF(C,2) AND (REF(MA(C,5),1)>=REF(MA(C,5),2) OR HHV(J9,4)>110)
AND MA(C,60)>REF(MA(C,60),1),1,0);
STICKLINE(蓝财神=1,L*0.92+L/3,L*0.93+L/3,18,0),COLOR009999;
STICKLINE(蓝财神=1,L*0.94+L/3,L*0.92+L/3,5,0),COLOR555555;
STICKLINE(蓝财神=1,L*0.93+L/3,L*0.92+L/3,9,0),COLOR555555;
STICKLINE(蓝财神=1,L*0.92+L/3,L*0.9+L/3,8,0),COLOR0088CC;
STICKLINE(蓝财神=1,L*0.84+L/3,L*0.81+L/3,14,0),COLORFFFFFF;
STICKLINE(蓝财神=1,L*0.89+L/3,L*0.84+L/3,22,0),COLORFF7700;
STICKLINE(蓝财神=1,L*0.84+L/3,L*0.83+L/3,16,0),COLORFF7700;
绿财神1:=IF(C>=MA(C,60) AND MA(C,5)>=REF(MA(C,5),1) AND MA(C,10)>=REF(MA(C,10),1)
AND MA(C,20)>=REF(MA(C,20),1) AND MA(C,60)>=REF(MA(C,60),1) AND LC<=
REF(C,2) AND (REF(MA(C,60),1)<=REF(MA(C,60),2) OR LC<=REF(MA(C,60),1))
AND HHV(J9,4)<110 AND VVV AND V>REF(V,1)*3 AND HHV(REF(H,1),15)>LLV(REF
(L,1),15)*1.18 AND C>H*0.965 AND HHV(H,5)>LLV(L,70)*1.3 AND HHV(H,40)>LLV(L,40)*1.3 AND C<LC*1.0985,1,0);
绿财神:=IF(((V>REF(V,1)*3 AND HHV(REF(H,1),15)>LLV(REF(L,1),15)*1.18 AND HHV
(H,5)>LLV(L,70)*1.3 AND HHV(H,40)>LLV(L,40)*1.3 AND J9>90) OR ((J9>116
AND D9>68) OR K9>94)) OR (REF(V,1)>REF(V,2)*3 AND LC>REF(C,2)*1.05 AND
C<LC) AND C<LC*1.0985,1,0);
STICKLINE(绿财神=1,L*0.92+L/3,L*0.93+L/3,18,0),COLOR009999;
STICKLINE(绿财神=1,L*0.94+L/3,L*0.92+L/3,5,0),COLOR555555;
STICKLINE(绿财神=1,L*0.93+L/3,L*0.92+L/3,9,0),COLOR555555;
STICKLINE(绿财神=1,L*0.92+L/3,L*0.9+L/3,8,0),COLOR0088CC;
STICKLINE(绿财神=1,L*0.84+L/3,L*0.81+L/3,14,0),COLORFFFFFF;
STICKLINE(绿财神=1,L*0.89+L/3,L*0.84+L/3,22,0),COLOR00FF00;
STICKLINE(绿财神=1,L*0.84+L/3,L*0.83+L/3,16,0),COLOR00FF00;
DRAWICON(蓝财神=1 OR 绿财神=1,L*0.86+L/3,8);
黄红财神买:IF(1=1,DRAWNULL,0),COLOR00CCFF;
蓝绿财神卖:IF(1=1,DRAWNULL,0),COLORCCFF00;
通达信财神爷买卖指标公式实例图解:
通达信财神爷买卖指标公式