股市没有超凡神人,股票酬懒股道酬勤;股市之道至简至易,运用之妙存乎一心。很多人炒股不知道什么时候是股票买入的最佳时机,结果不是亏的一塌糊涂就是少吃很多盈利点。下面教大家一个秘密公式,需要的可以自行复制导入炒股软件进行参考,指标亲测有效:
图解:
追涨杀跌?NO!天策教你如何追跌杀涨(附指标公式)
公式如下:
顶:82,COLORFFFF00,LINETHICK1;
顶A:90,COLORFF0000,LINETHICK2;
低:18,COLOR208FFF,LINETHICK1;
0;
TJ1:=(C-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*100;
TJF:=SMA(TJ1,13,8);
TJFF:=SMA(TJ1,13,4);
DRAWBAND(TJF,RGB(175,0,0),TJFF,RGB(70,100,50));
中轴:45,COLOR555555;
AR1:=(CLOSE-LLV(LOW,120))/(HHV(HIGH,120)-LLV(LOW,120))*100;
AR2:=SMA(AR1,3,1);
AR3:=SMA(AR2,3,1);
AR4:=SMA(AR3,3,1);
MMCD:=3*(AR3-AR4);
STICKLINE(MMCD>0,MMCD+45,45,0.0,0),COLOR0000DD;
STICKLINE(MMCD<0,MMCD+45,45,0.0,0),COLORDDDD00;
DRAWTEXT(ISLASTBAR AND TJF>REF(TJF,1),TJF,' '),COLOR0000FF;
DRAWTEXT(ISLASTBAR AND TJF
DRAWTEXT(ISLASTBAR,顶,''),COLORFFFF00;
DRAWTEXT(ISLASTBAR,低,''),COLOR208FFF;
DRAWICON(CROSS(TJF,89),TJF,4);
///////底顶部BS背离///////
LC:=REF(CLOSE,1);
RSI:=((SMA(MAX((CLOSE - LC),0),3,1) / SMA(ABS((CLOSE - LC)),3,1)) * 100);
FF:=EMA(CLOSE,3);
MA15:=EMA(CLOSE,21);
DRAWTEXT(CROSS(FF,MA15),(LOW * 0.99),'.底背离'),colorred;
{DRAWICON(CROSS(FF,MA15),(LOW * 0.99),7); }
RSI1:=((SMA(MAX((CLOSE - (REF(CLOSE,1))),0),3,1) / SMA(ABS((CLOSE - (REF(CLOSE,1)))),3,1))* 100);
DRAWTEXT(CROSS(88,RSI1) AND (MA(C,3))>(EMA(C,3)) ,(HIGH + 0.3),'.顶背离'),colorgreen;
{DRAWICON(CROSS(88,RSI1) AND (MA(C,3))>(EMA(C,3)) ,(HIGH + 0.3),8); }
AA:=(HHV(HIGH,20) - (2 * ATR));
BB:=CROSS(CLOSE,REF(HHV(HIGH,55),1));
SSS:=CROSS(MIN(MA(CLOSE,13),AA),CLOSE);
BBB:=BARSLAST(BB);
SSSB:=BARSLAST(SSS);
B1:=((BBB = 0) AND (REF(SSSB,1) < REF(BBB,1)));
B1B:=BARSLAST(B1);
B2:=((((BB = 1) AND (B1B < SSSB)) AND (B1B > 0)) AND (COUNT(BB,SSSB) < 3));
B2B:=BARSLAST(B2);
B3:=((((BB = 1) AND (B2B < B1B)) AND (COUNT(BB,SSSB) < 4)) AND (COUNT(BB,SSSB) > 2));
DRAWTEXT((B1 = 1),(LOW - 0.6),'.跟进'),coloryellow;
DRAWTEXT((B2 = 1),(LOW - 0.6),'.加码'),COLORFFAAFF;
DRAWTEXT_FIX(1,0.01,0.82,0,),colorcyan,;
DRAWTEXT_FIX(1,0.0,0.0,0,),colorred,LINETHICK1;
DRAWTEXT_FIX(1,0.00,0.06,0,),colorgreen,LINETHICK1;
DRAWTEXT_FIX(1,0.00,0.12,0,),colorgreen,LINETHICK1;
DRAWTEXT_FIX(1,0.00,0.18,0,),colorgreen,LINETHICK1;