通达信通用主图源码牛牛指标扬帆附图
{牛牛指标网提供:www.tdx001.com}
复制内容到剪贴板
- BIAS20:=(CLOSE-MA(CLOSE,20))/MA(CLOSE,20)*100;
- 起航天数:BARSLAST(BARSLAST(BIAS20>0 AND REF(BIAS20,1)>0)>0),STICK,COLORRED,LINETHICK4;
- 休整天数:BARSLAST(BARSLAST(BIAS20<0 AND REF(BIAS20,1)<0)>0),STICK,COLOR00FFFF,LINETHICK4;
- DRAWTEXT(起航天数=1,-5,'起'),COLORRED;
- DRAWTEXT(起航天数=1,-10,'航'),COLORRED;
- DRAWTEXT(休整天数=1,-5,'休'),COLORYELLOW;
- DRAWTEXT(休整天数=1,-10,'整'),COLORYELLOW;
- -20,COLOR000000;
- Var2w:=100-100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14));
- MW:= EMA(Var2w,3);
- Var3w:=EMA(Var2w,7);
- M1:= EMA(Var3w,5);
- mb1:=CROSS(MW,M1) AND M1<20;
- 抄底介入:IF((mb1),20,0),linethick2,colorff00ff;
- drawtext(抄底介入 ,30,'抄底 '),colorred;
- Var06:=(2*CLOSE+HIGH+LOW)/4;
- Var08:=LLV(LOW,34);
- VarB1:=HHV(HIGH,34);
- BB:=EMA((Var06-Var08)/(VarB1-Var08)*100,9);
- VarC1:=EMA(0.667*REF(BB,1)+0.333*BB,2);
- DRAWICON(FILTER(BB<REF(BB,1)AND BB>55 AND BB>REF(BB,3)AND C>MA(C,15),7),50,2);
5F9251793.gif
EF9251531.gif
989252178.gif
929253461.gif
179253974.gif
|