同花顺大牛小牛指标公式
2019-05-20 作者:股匠网整理 来源:本站整理
N1:=5;N2:=10;
LC:=REF(CLOSE1);
RSI5:SMA(MAX(CLOSE-LC0)N11)/SMA(ABS(CLOSE-LC)N11)*10NODRAW;
RSI10:SMA(MAX(CLOSE-LC0)N21)/SMA(ABS(CLOSE-LC)N21)*10NODRAW;
VAR1:=C-REF(C1);
VAR2:=100*EMA(EMA(VAR16)6)/EMA(EMA(ABS(VAR1)6)6);
MA5:=EMA(C5);
MA13:=EMA(C13);
UP:=DRAWLINE(L=LLV(LBARSLAST(CROSS(MA13MA5))+1)LLV(LBARSLAST(CROSS
(MA13MA5))+1)H=HHV(HBARSLAST(CROSS(MA5MA13))+1)HHV(HBARSLAST(CROSS
(MA5MA13))+1)0)COLOR0000FF;
DOWN:=DRAWLINE(H=HHV(HBARSLAST(CROSS(MA5MA13))+1)HHV(HBARSLAST(CROSS
(MA5MA13))+1)L=LLV(LBARSLAST(CROSS(MA13MA5))+1)LLV(LBARSLAST(CROSS
(MA13MA5))+1)0)COLOR00FF00;
BT:(LLV(VAR22)=LLV(VAR27) AND COUNT(VAR2<02) AND CROSS(VAR2MA(VAR22))) AND
REF(DOWN1)<REF(DOWN2) AND UP>REF(DOWN1);
STICKLINE(UP00.230)COLOR0000FF;
STICKLINE(DOWN00.230)COLOR00FF00;
STICKLINE(BT09520)COLOR000088;
STICKLINE(BT09510)COLOR0000CC;
STICKLINE(BT0950.220)COLOR0000FF;
DRAWTEXT(BT95'★短牛')COLOR0000FF;
TJ1:=REF(DOWN1)<REF(DOWN2) AND UP>REF(DOWN1) AND C<HHV(H21)*0.82;
STICKLINE(TJ108030)COLOR880088;
STICKLINE(TJ10801.50)COLORAA00AA;
STICKLINE(TJ10800.80)COLORCC00CC;
STICKLINE(TJ10800.20)COLORFF00FF;
DRAWTEXT(TJ180'★★中牛')COLORFF00FF;
HR:=HHV(HIGH55);
HRY:=LLV(LOW55);
HRY11:=HR*HRY;
HRY33:=SQRT(HRY11);
TJ2:=REF(DOWN1)<REF(DOWN2) AND UP>REF(DOWN1) AND C<HRY33;
STICKLINE(TJ205550)COLOR008888;
STICKLINE(TJ205520)COLOR00AAAA;
STICKLINE(TJ205510)COLOR00CCCC;
STICKLINE(TJ20550.20)COLOR00FFFF;
DRAWTEXT(TJ265'★★★大牛')colorred;
ST:=REF(UP1)>REF(UP2) AND DOWN<REF(UP1);
STICKLINE(ST1009050)colorwhite ;
STICKLINE(ST1009020)colorwhite ;
STICKLINE(ST1009010)colorwhite ;
STICKLINE(ST100900.20)colorwhite ;
DRAWTEXT(ST100'卖')colorblue;
V6:=CLOSE/REF(CLOSE3)>=1.1;
V7:=BACKSET(V63);
V10:=PEAKBARS(3151)<10; V12:=IF(V10=1500);
头部:= IF(V12=501000);
股票卖:IF(头部>REF(头部1)850)colorgreenLINETHICK2;
STICKLINE(股票卖07510)colorblue;
STICKLINE(股票卖06540)colorgreen;
上一篇: 同花顺日金斗进指标公式
下一篇: 同花顺买卖必赢指标公式