1.通达信版脑电波公式(交易型)
通达信版脑电波公式(交易型)
Var2:=(3*CLOSE+LOW+OPEN+HIGH)/6;
Var3:=(*Var2+*REF(Var2,通达通达登陆框源码1)+*REF(Var2,2)+*REF(Var2,3)+*REF(Var2,4)+*REF(Var2,5)+*REF(Var2,6)+*REF(Var2,7)+*REF(Var2,8)+*REF(Var2,9)+*REF(Var2,)+9*REF(Var2,)+8*REF(Var2,)+7*REF(Var2,)+6*REF(Var2,)+5*REF(Var2,)+4*REF(Var2,)+3*REF(Var2,)+2*REF(Var2,)+REF(Var2,))/;
Var4:=MA(Var3,);
Var5:=EMA(MA(CLOSE,3),);
Var6:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,)+MA(CLOSE,))/4;
Var7:=MA(Var6,5);
Var8:=MA(Var6,);
〖空头市场〗: STICKLINE(IF(Var3<Var5,Var3<=1.*Var4,Var3<=1.*Var4),Var3,Var4,,1), ,COLOR ;
〖多头市场〗: STICKLINE(Var3>1.*Var4,Var3,Var4,,1),ColorFFB5FF , { COLORCC};
『脑电波上升』: DRAWTEXT(FILTER(MA(Var6,)<Var7,1),Var8,'↑'), , COLORRED;
『脑电波下跌』: DRAWTEXT(FILTER(MA(Var6,)>=Var6,1),Var8,'↓'), , COLORGREEN;
『多空安全线』: Var5,circledot , COLORWHITE;
〖关注点〗: STICKLINE(COUNT(Var3>1.*Var4 AND Var3<=REF(Var3,1),2)=2 OR COUNT(IF(Var3<Var5,Var3<=1.*Var4,Var3<=1.*Var4) AND Var3>=REF(Var3,1),2)=2,Var3,Var4,,0), , COLORYELLOW;
★买入点: DRAWTEXT(REF(CROSS(Var3,Var4),2) AND Var3>1.*Var4,Var4,'★买入点'), ,COLORYELLOW;
『多空争夺点』: DRAWTEXT(CROSS(Var6,Var7) AND Var7<Var8,Var3*0.,'▲翻多'), , COLORBLUE;
『空多争夺点』: DRAWTEXT(CROSS(Var7,Var6) AND Var7>Var8,Var3*1.,'▼翻空'),COLORGREEN;
『卖出』: DRAWTEXT(CROSS(var7,var6) AND var7>var8,var3*1.,'▼卖出'),COLORwhite;
Var9:=1/WINNER(CLOSE);
VarA:=MA(CLOSE,);
VarB:=-ABS((CLOSE-VarA)/VarA*);
VarC:=LLV(LOW,);
VarD:=HHV(HIGH,);
VarE:=(VarD-VarC)/;
VarF:=SMA((CLOSE-VarC)/VarE,,1);
Var:=SMA((OPEN-VarC)/VarE,,1);
Var:=3*VarF-2*SMA(VarF,,1);
Var:=3*Var-2*SMA(Var,,1);
Var:=-Var;
Var:=-Var;
Var:=MA(WINNER(CLOSE*0.)*,3);
Var:=-IF(Var9>5,IF(Var9<,Var9,VarB-),0);
Var:=Var>VarB;
Var:=REF(LOW,1)*0.9;
Var:=LOW*0.9;
Var1A:=(Var*VOL+Var*(CAPITAL-VOL))/CAPITAL;
Var1B:=EMA(Var1A,);
Var1C:=CLOSE-REF(CLOSE,1);
Var1D:=MAX(Var1C,0);
Var1E:=ABS(Var1C);
Var1F:=SMA(Var1D,7,1)/SMA(Var1E,7,1)*;
Var:=SMA(Var1D,,1)/SMA(Var1E,,1)*;
Var:=BARSCOUNT(CLOSE);
Var:=SMA(MAX(Var1C,0),6,1)/SMA(ABS(Var1C),6,1)*;
Var:=(-)*(HHV(HIGH,)-CLOSE)/(HHV(HIGH,)-LLV(LOW,))+;
Var:=(CLOSE-LLV(LOW,))/(HHV(HIGH,)-LLV(LOW,))*;
Var:=SMA((SMA(Var,4,1)-)*2,3,1);
Var:=(INDEXC-LLV(INDEXL,))/(HHV(INDEXH,)-LLV(INDEXL,))*;
Var:=SMA(Var,4,1);
Var:=SMA(Var,3,1);
Var:=(HHV(HIGH,)-CLOSE)/CLOSE*;
Var2A:=Var<= AND Var<- AND Var> AND Var<- AND Var< AND Var1B-CLOSE>=-0. AND Var1F< AND Var< AND Var>;
DRAWTEXT(CROSS(Var2A,0.5) AND COUNT(Var2A=1,)=1,Var4,'发射资金♂‖超短线操作‖'), , COLORRED;
DRAWTEXT(CROSS(Var,0.5) AND COUNT(Var=1,)=1,Var3,'∝激烈交锋'),COLOR;
var:=IF(CLOSE>REF(CLOSE, 1),,0);
var:=IF(CLOSE/REF(CLOSE, 1)>1. AND HIGH/CLOSE<1. AND var>0, , 0);
STICKLINE(var>,L*0.,L*0.,4,0),COLORYELLOW;
DRAWTEXT(var>,LOW*0.,'追涨'),COLORYELLOW;