同花顺黑马骑士公式 用于发现黑马
用于补捉中短线,趋势机会,骑上大黑马,思路清晰明确,易于上手
1.黄线吸筹.
2.红柱趋势上涨,绿柱趋势下跌.红键头买入,绿键头卖出.
3.大红点持股,大绿点持币.可根据趋势线加减仓位.
4.白柱走强,蓝柱走弱.
5.先结合大盘趋势向上,再操作个股,最好选从地平线出来的个股.
源码
VAR1:=(HHV(H,9)-C)/(HHV(H,9)-LLV(L,9))*100-70;
VAR2:=SMA(VAR1,9,1)+100;
VAR3:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;
VAR4:=SMA(VAR3,3,1);
VAR5:=SMA(VAR4,3,1)+100;
VAR6:=VAR5-VAR2;
趋势:= IF(VAR6>45,VAR6-45,VAR6-45);
STICKLINE(REF(趋势,1)< 趋势, 趋势,REF(趋势,1),5,0),COLOR0000FF;
STICKLINE(REF(趋势,1)> 趋势, 趋势,REF(趋势,1),5,0),color00ff00;
强弱分界:50,POINTDOT,Colorffffcc;
A1:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-
2*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1);
STICKLINE(a1>=REF(a1,1),a1,REF(a1,1),5,0),colorwhite;
STICKLINE(a1<REF(a1,1),a1,REF(a1,1),5,0),colorff9900;
地平线:0,Color00Ffff;
20,POINTDOT,COlORFFAA66,linethick1;
80,POINTDOT,COlORFFAA66,linethick1;
白云线:100,Colorffff33;
v1:=LLV(L,5);
v2:=HHV(H,25);
V3:=LLV(C,10);
V4:=HHV(C,30);
Var2q:=REF(L,1);
Var3q:=SMA(ABS(L-Var2q),3,1)/SMA(MAX(L-Var2q,0),3,1)*100;
Var4q:=EMA(IF(C*1.3,Var3q*10,Var3q/10),3);
Var5q:=LLV(L,30);
Var6q:=HHV(Var4q,30);
Var7q:=IF(MA(C,58),1,0);
Var8q:=EMA(IF(L<=Var5q,(Var4q+Var6q*2)/2,0),3)/618*Var7q;
Var9q:=IF(Var8q>100,100,Var8q);
STICKLINE(Var9q>-120,0,Var9q,6,1),coloryellow;//吸筹
AA3:=(HHV(H,21)-C)/(HHV(H,21)-LLV(L,21))*100-10;
AA4:=(C-LLV(L,21))/(HHV(H,21)-LLV(L,21))*100;
AA5:=SMA(AA4,13,8);
走势:=CEILING(SMA(AA5,13,8));
AA6:=SMA(AA3,21,8);
AA7:=EMA(REF(趋势,1),dnb);//大牛
aa8:=EMA(REF(a1,1),QNB),colorred;//骑牛
生命线:EMA(REF(a1,1),QNB),colorred;//骑牛
DRAWICON(CROSS(趋势,AA7) AND 趋势<40 ,趋势-5,1);
DRAWICON(CROSS(AA7,趋势) AND 趋势>60 ,趋势+5,2);
DRAWTEXT(a1>aa8 ,130,'●'),COLOR0000FF;////长线////
DRAWTEXT(A1<aa8 ,-30,'●'),colorgreen;////长线////