文华财经指标如何改成通达信指标呢,回复有效有奖哦
X:IF(ABS(VAR1)<C,ABS(VAR1),NULL),COLORRED,CIRCLEDOT;
S:IF(ABS(VAR1)>C,ABS(VAR1),NULL),COLORGREEN,CIRCLEDOT;
B1:=REF(C,1);
B2:=REF(C,2);
SS:=IF(C>REF(C,1) AND REF(C,1)>=REF(C,2),1,IF(C<REF(C,1) AND REF(C,1)<=REF(C,2),-1,IF(C>REF(C,2) AND REF(C,2)>REF(C,1),2,IF(C<REF(C,2) AND REF(C,2)<REF(C,1),-2,0))));
SM:=IF(REF(SS,1)>0 OR REF(SS,1)<0,REF(SS,1),IF(REF(SS,2)>0 OR REF(SS,2)<0,REF(SS,2),IF(REF(SS,3)>0 OR REF(SS,3)<0,REF(SS,3),IF(REF(SS,4)>0 OR REF(SS,4)<0,REF(SS,4),IF(REF(SS,5)>0 OR REF(SS,5)<0,REF(SS,5),IF(REF(SS,6)>0 OR REF(SS,6)<0,REF(SS,6),IF(REF(SS,7)>0 OR REF(SS,7)<0,REF(SS,7),0)))))));
STICKLINE(SS=1 OR SM>=1 AND SS=0,B1,C,0.8,1),COLORRED;
STICKLINE(SS=2,B2,C,0.8,1),COLORRED;
STICKLINE(SS=-2,B2,C,0.8,0),COLORFF9000;
STICKLINE((SS=-1 OR SS=-2) AND SM>0,B2,B1,0.8,1),COLORRED;
STICKLINE((SS=1 OR SS=2) AND SM<0,B2,B1,0.8,0),COLORFF9000;
MA1:MA(C,5);
MA2:MA(C,10);
MA3:MA(C,20);
MA4:MA(C,30);
MA5:MA(C,60);
DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26);
DEA:=EMA(DIFF,9);
MACD:=2*(DIFF-DEA),COLORSTICK;
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;//收盘价与N周期最低值做差,N周期最高值与N周期最低值做差,两差之间做比值。
K:=SMA(RSV,3,1);//RSV的移动平均值
D:=SMA(K,3,1);//K的移动平均值
AA:=X>0&&MACD>0&&K>D&&MA1>MA2&&MA3>MA4;
BB:=S>0&&MACD<0&&K<D&&MA1<MA2&&MA3<MA4;
DRAWICON(CROSS(AA,0.5),H,1);
DRAWICON(CROSS(BB,0.5),L,2); 展开
VAR1:=SAR(10,2,20);
X:IF(ABS(VAR1)<C,ABS(VAR1),DRAWNULL),COLORRED,CIRCLEDOT;
S:IF(ABS(VAR1)>C,ABS(VAR1),DRAWNULL),COLORGREEN,CIRCLEDOT;
B1:=REF(C,1);
B2:=REF(C,2);
SS:=IF(C>REF(C,1) AND REF(C,1)>=REF(C,2),1,IF(C<REF(C,1) AND REF(C,1)<=REF(C,2),-1,IF(C>REF(C,2) AND REF(C,2)>REF(C,1),2,IF(C<REF(C,2) AND REF(C,2)<REF(C,1),-2,0))));
SM:=IF(REF(SS,1)>0 OR REF(SS,1)<0,REF(SS,1),IF(REF(SS,2)>0 OR REF(SS,2)<0,REF(SS,2),IF(REF(SS,3)>0 OR REF(SS,3)<0,REF(SS,3),IF(REF(SS,4)>0 OR REF(SS,4)<0,REF(SS,4),IF(REF(SS,5)>0 OR REF(SS,5)<0,REF(SS,5),IF(REF(SS,6)>0 OR REF(SS,6)<0,REF(SS,6),IF(REF(SS,7)>0 OR REF(SS,7)<0,REF(SS,7),0)))))));
STICKLINE(SS=1 OR SM>=1 AND SS=0,B1,C,0.8,1),COLORRED;
STICKLINE(SS=2,B2,C,0.8,1),COLORRED;
STICKLINE(SS=-2,B2,C,0.8,0),COLORFF9000;
STICKLINE((SS=-1 OR SS=-2) AND SM>0,B2,B1,0.8,1),COLORRED;
STICKLINE((SS=1 OR SS=2) AND SM<0,B2,B1,0.8,0),COLORFF9000;
MA1:MA(C,5);
MA2:MA(C,10);
MA3:MA(C,20);
MA4:MA(C,30);
MA5:MA(C,60);
DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26);
DEA:=EMA(DIFF,9);
MACD:=2*(DIFF-DEA),COLORSTICK;
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;{收盘价与N周期最低值做差,N周期最高值与N周期最低值做差,两差之间做比值。}
K:=SMA(RSV,3,1);{RSV的移动平均值}
D:=SMA(K,3,1);{K的移动平均值}
AA:=X>0&&MACD>0&&K>D&&MA1>MA2&&MA3>MA4;
BB:=S>0&&MACD<0&&K<D&&MA1<MA2&&MA3<MA4;
DRAWICON(CROSS(AA,0.5),H,1);
DRAWICON(CROSS(BB,0.5),L,2);
通达信吗
是通达信啊
看看这些内容对您有帮助么?
好医保和相互宝是什么关系
相互宝保障哪些99种大病
可以给父母或家人投保相互宝吗
人工
非常抱歉,我将邀请客服小二为您继续解答。
是否连线,获得人工帮助?
如果出现理赔,用相互保还是医保?
看看这些内容对您有帮助么?
好医保和相互宝是什么关系
相互宝保障哪些99种大病
可以给父母或家人投保相互宝吗
人工
非常抱歉,我将邀请客服小二为您继续解答。
是否连线,获得人工帮助?