1.通达信公式改为同花顺公式
2.同花顺的同花d同同花skdj改通达信
3.请问写在通达信里的公式到同花顺里就测试不通过,出现语法错误,顺源顺thrift编程源码谁能帮我公式在同花顺里可以使用,花顺可用的彩虹云源码Z1这行
通达信公式改为同花顺公式
AAA:=(3*C+H+L+O)/6;VAR1:(8*AAA+7*REF(AAA,源码商城服务器源码1)+6*REF(AAA,2)+5*REF(AAA,3)+4*REF(AAA,4)+3*REF(AAA,5)+2*REF(AAA,6)+REF(AAA,8))/,LINETHICK2,colorred;
PARTLINE(VAR1,VAR1 >= REF(VAR1,1),colorred,VAR1 <= REF(VAR1,1),colorgreen),LINETHICK5;
VAR2:=(HHV(VAR1,2)+HHV(VAR1,4)+HHV(VAR1,8))/3;
VAR3:=(LLV(VAR1,2)+LLV(VAR1,4)+LLV(VAR1,8))/3;
VAR4:(HHV(VAR2,2)+HHV(VAR2,4)+HHV(VAR2,8))/3;
VAR5:(LLV(VAR3,2)+LLV(VAR3,4)+LLV(VAR3,8))/3,colorwhite;
VAR6:=(LLV(VAR1,2)+LLV(VAR1,4)+LLV(VAR1,8))/3;
STICKLINE(VAR4>VAR1,VAR4,VAR1,0,0),colorblue;
DRAWKLINE(H,O,L,C);
DRAWTEXT(REF(VAR5,1)=REF(VAR1,1) AND VAR5<VAR1,L*0.,'买点'),colorred;
DRAWTEXT(REF(VAR6,1)=REF(VAR1,1) AND VAR6<VAR1,L*0.,'加仓'),coloryellow;
DRAWTEXT(REF(VAR4,1)=REF(VAR1,1) AND VAR4>VAR1,H,'卖点'),colorgreen;
ZT:=REF(C,1)*1.1-C<0. AND H=C;
STICKLINE(ZT,O,C,9,0),coloryellow;
突破:=CROSS(C,VAR4) AND ZT;
DRAWTEXT(突破,L,'爆点');
DT:=C/REF(C,1)<0. AND C=L;
STICKLINE(DT,O,C,9,0),colorgreen;
同花顺的skdj改通达信
{ 通达信}TYP:=(HIGH+LOW+CLOSE)/3;
NOTEXTCL:(TYP-MA(TYP,))/(0.*AVEDEV(TYP,));
NOTEXTC2:MA(NOTEXTCL,4);
NOTEXTC3:MA(NOTEXTCL,),LINETHICK2;
DRAWBAND(NOTEXTCL,RGB(0,,0),NOTEXTC2,0);
DRAWBAND(NOTEXTCL, RGB(,0,0),NOTEXTC3,0);
LC:=REF(CLOSE,1);
DI:=(EMA(C,)-EMA(C,))*;
DE:=EMA(DI,9);
MACD:=2*(DI-DE);
RSV:=(CLOSE-LLV(LOW,))/(HHV(HIGH,)-LLV(LOW,))*-;
STICKLINE(MACD>0 AND MACD>REF(MACD,1),MACD,0,1,0),COLORAA;
STICKLINE(MACD>0 AND MACD<REF(MACD,1),MACD,0,1,0),COLORFF;
STICKLINE(MACD<0 AND MACD<REF(MACD,1),MACD,0,1,0),COLORFF;
STICKLINE(MACD<0 AND MACD>REF(MACD,1),MACD,0,1,0),COLORFFA9;
CL:(TYP-MA(TYP,))/(0.*AVEDEV(TYP,)),COLORFFFFFF;
C2:MA(CL,4);
C3:MA(CL,),COLORFFFF,LINETHICK2;
请问写在通达信里的公式到同花顺里就测试不通过,出现语法错误,导入28x源码解读谁能帮我公式在同花顺里可以使用,同花d同同花什么地方有源码Z1这行
首先这个公式有未来函数,顺源顺XMA函数用法中明确说明了只供内部测试用的,所以你在同花顺无法找到替代函数,同花顺也有xma函数,但计算结果完全不一样.所以这公式还是在通达信用吧.