通达信发财了副图无未来指标源码
发布时间:2020-1-5 20:02阅读:460
BHG1:=(CLOSE+HIGH+LOW+OPEN)/4;
BHG2:=SUMBARS(VOL,CAPITAL);
BHG3:=HHV(BHG1,BHG2);
BHG4:=LLV(BHG1,BHG2);
BHG5:=(2*BHG1-BHG4-REF(BHG4,1))/(BHG3-BHG4);
BHG6:=(BHG1-BHG4)/(BHG3-BHG4);
BHG7:=IF(BHG1<=BHG4,BHG5*60,BHG6*60);
BHG8:=600*(EMA(CLOSE,3)-EMA(LOW,30))/EMA(LOW,30);
BHG9:=EMA(BHG8,7);
BHGA:=(WINNER(120*CLOSE/100)-WINNER(100*CLOSE/100))*100;
BHGB:=(-100)*(WINNER(120*CLOSE/100)-WINNER(100*CLOSE/100))+5;
BHGC:=HHV(HIGH,9)-LLV(LOW,9);
BHGD:=HHV(HIGH,9)-CLOSE;
BHGE:=CLOSE-LLV(LOW,9);
BHGF:=BHGD/BHGC*100-70;
BHG10:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;
BHG11:=(2*CLOSE+HIGH+LOW)/4;
BHG12:=SMA(BHGE/BHGC*100,3,1);
BHG13:=LLV(LOW,34);
BHG14:=SMA(BHG12,3,1)-SMA(BHGF,9,1);
BHG15:=IF(BHG14>100,BHG14-100,0);
BHG16:=HHV(HIGH,34);
BHG17:=EMA((BHG11-BHG13)/(BHG16-BHG13)*100,8);
BHG18:=EMA(BHG17,5);
STICKLINE(BHG17-BHG18>0,BHG17,BHG18,3,1), ,COLORYELLOW ;
STICKLINE(BHG17-BHG18<0,BHG17,BHG18,3,1), ,COLORBLUE;
Q1:=(CLOSE-REF(CLOSE, 1))/REF(CLOSE, 1)*100;
Q2:=(CLOSE-LLV(LOW, 18))/(HHV(HIGH, 18)-LLV(LOW, 18))*100;
Q3:=SMA(Q2, 9, 1);
Q4:=SMA(Q3, 3, 1);
AA:3*Q3-2*Q4,LINETHICK3 ,COLORYELLOW;
IF(AA<REF(AA,1),AA,DRAWNULL),LINETHICK3,COLORGREEN;
Q5:=AA>1*REF(AA, 1);
Q6:=LLVBARS(LOW, 50);
Q7:=SUM(VOL, Q6);
Q8:=HHVBARS(HIGH, 50);
Q9:=SUM(VOL, Q8);
Q10:=(CLOSE-REF(OPEN, Q8))/REF(OPEN, Q8)*100;
Q11:=HHV(AA,5);
A1:EMA(Q3, 3) , COLORFFDDCC;
A2:EMA(A1, 3) , COLORFFBBCC;
A3:EMA(A2, 3) , COLORFF99CC;
A4:EMA(A3, 3) , COLORFF55CC;
A5:EMA(A4, 3) , COLORFF33CC;
A6:EMA(A5, 3) , COLORFF11CC;
A:EMA(A4, 3), , COLORFF00CC;
DRAWTEXT(CROSS(AA, 20) AND Q10<-13,10,'底部'), COLORYELLOW;
DRAWTEXT(CROSS(AA, A5) AND REF(AA,1)<34,REF(AA,1),'发财了'), COLORRED ;
DRAWTEXT(CROSS(A1, AA) AND REF(AA,1)>80, REF(AA,3), '闪人'), COLORRED ;
DRAWTEXT(CROSS(AA, A1) AND Q5 AND A1<20 AND Q1>9 OR A1>1*REF(A1, 1)
AND Q1>4 AND A1<60, 30, '拉'), COLORFFFFCC;
DQ:=CROSS(AA,A1) AND CROSS(A1,A2) AND AA>A6;
STICKLINE(DQ,30,80,1.2,0),COLORRED;
温馨提示:投资有风险,选择需谨慎。