趋势判断,引用于神仙圈子老师的大趋势理论,通过三根趋势线和K线判断大盘及个股走势 AA1:=AMOUNT/V; BB1:=L<AA1*0.98; CC1:=(C-REF(C,1))/REF(C,1)*100>1.2; DD1:=L<MA(C,5)*0.921; EE1:=V<MA(V,5)*1.5; 抢反弹进:=BB1 AND CC1 AND DD1 AND EE1; DRAWTEXT(抢反弹进,LOW* 0.99,'▲抢反弹进'),COLOR40CCFF; var1:=CLOSE>REF(CLOSE,1) AND CLOSE>REF(CLOSE,2); Var2:=REF(Var1,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); Var3:=REF(Var2,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); Var4:=REF(Var3,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); Var5:=REF(Var4,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); Var6:=REF(Var5,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); Var7:=REF(Var6,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); Var8:=REF(Var7,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); Var9:=REF(Var8,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VarA:=REF(Var9,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VarB:=REF(VarA,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VarC:=REF(VarB,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VarD:=CLOSE<REF(CLOSE,1) AND CLOSE<REF(CLOSE,2); VarE:=REF(VarD,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VarF:=REF(VarE,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); Var10:=REF(VarF,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); Var11:=REF(Var10,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); Var12:=REF(Var11,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); Var13:=REF(Var12,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); Var14:=REF(Var13,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); Var15:=REF(Var14,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); Var16:=REF(Var15,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); Var17:=REF(Var16,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); Var18:=REF(Var17,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); Var19:=REF(VarD OR VarE OR VarF OR Var10 OR Var11 OR Var12 OR Var13 OR Var14 OR Var15 OR Var16 OR Var17 OR Var18,1) AND Var1; DRAWTEXT(Var19,L,'▲'),colorred; Var1A:=REF(Var1 OR Var2 OR Var3 OR Var4 OR Var5 OR Var6 OR Var7 OR Var8 OR Var9 OR VarA OR VarB OR VarC,1) AND VarD; DRAWTEXT(Var1A,H*1.02,'▼'),colorgreen; ma3:=MA(C,3),colorfff000; MA6:=MA(C,6),colorff99ff; ma9:=MA(C,9),color00ff00; MA10:MA(C,10),colorff99ff; MA20:MA(C,20),color00ff00; qs1:=IF(C>MA(C,4),1,0); qs2:=IF(C<MA(C,4),-1,0); qs3:=IF(MA(C,5)>REF(MA(C,5),1),1,0); qs4:=IF(MA(C,5)<REF(MA(C,5),1),-1,0); qs:=qs1+qs2+qs3+qs4; STICKLINE((qs=-2 AND C<O),H,L,0,0),Color00FF00; STICKLINE((qs=-2 AND C<O),OPEN,CLOSE,8,0),Color007900; STICKLINE((qs=-2 AND C<O),OPEN,CLOSE,6,1),Color00A200; STICKLINE((qs=-2 AND C<O),OPEN,CLOSE,4,0),Color00D600; STICKLINE((qs=-2 AND C<O),OPEN,CLOSE,2,0),Color00FF00; STICKLINE((qs=-2 AND C>O),H,L,0,0),Color53A9FF; STICKLINE((qs=-2 AND C>O),O,C,8,0),Color003E7B; STICKLINE((qs=-2 AND C>O),O,C,6,1),Color0053A6; STICKLINE((qs=-2 AND C>O),O,C,4,0),Color006AD5; STICKLINE((qs=-2 AND C>O),O,C,2,0),Color2492FF; STICKLINE((qs=0 AND C<O),H,L,0,0),ColorFFFFFF; STICKLINE((qs=0 AND C<O),O,C,8,0),ColorBBBBBB; STICKLINE((qs=0 AND C<O),O,C,6,1),ColorCACACA; STICKLINE((qs=0 AND C<O),O,C,4,0),ColorF6F6F6; STICKLINE((qs=0 AND C<O),O,C,2,0),ColorFFFFFF; STICKLINE((qs=0 AND C>O),H,L,0,0),Color00FFFF; STICKLINE((qs=0 AND C>O),O,C,8,0),Color008888; STICKLINE((qs=0 AND C>O),O,C,6,1),Color00BFBF; STICKLINE((qs=0 AND C>O),O,C,4,0),Color00DBDB; STICKLINE((qs=0 AND C>O),O,C,2,0),Color00F0F0; STICKLINE((qs=2 AND C<O),H,L,0,0),ColorFF00FF; STICKLINE((qs=2 AND C<O),O,C,8,0),ColorBB00BB; STICKLINE((qs=2 AND C<O),O,C,6,1),colorFF5BFF; STICKLINE((qs=2 AND C<O),O,C,4,0),colorF900F9; STICKLINE((qs=2 AND C<O),O,C,2,0),ColorFF66FF; STICKLINE((qs=2 AND C>O),H,L,0,0),Color0000FF; STICKLINE((qs=2 AND C>O),O,C,8,0),Color00007B; STICKLINE((qs=2 AND C>O),O,C,6,1),Color000097; STICKLINE((qs=2 AND C>O),O,C,4,0),Color0000C4; STICKLINE((qs=2 AND C>O),O,C,2,0),Color0000EC; AC:=AMOUNT/(VOL); YY:=MA(AC,13); LLL:=(C-YY)/YY*100; MIDC := MA(CLOSE,21); UPPERC:= MIDC + 2*STD(C,21); LOWERC:= MIDC - 2*STD(C,21); BBA:=(C-LOWERC)/(UPPERC-LOWERC); BBC:=FORCAST(BBA,3); LIFENGCYC:=(REF(LLL,1)<-15 AND REF(BBA,1)<0 AND LLL>REF(LLL,1)); STICKLINE(LIFENGCYC>0,C,O,2,0),COLOR10ABFF; STICKLINE(LIFENGCYC>0,C,O,1.5,0),COLOR10D0FF; STICKLINE(LIFENGCYC>0,C,O,1,0),COLOR10FFFF; DRAWTEXT(LIFENGCYC>0,LOW*0.99,''),colorffffff; LC:=REF(CLOSE,1); RSI:=((SMA(MAX((CLOSE - LC),0),3,1) / SMA(ABS((CLOSE - LC)),3,1)) * 100); DRAWTEXT(CROSS(88,RSI),(HIGH * 1.03),'▼'),ColorFFFFFF; VAR3:=LLV(LOW,5)=LLV(LOW,45) AND CLOSE>=OPEN*1.04; VAR4:=CLOSE>(REF(HIGH,1)+REF(LOW,1))/2; VAR5:=VAR3 AND VAR4; DRAWTEXT(VAR5,LOW-0.17,'★ '),coloryellow , ; 极品底:=IF((MA(C,5)-C)/C>0.04 AND (MA(C,10)-MA(C,5))/MA(C,5)>0.04,50,0),colorwhite; DRAWTEXT(极品底=50,H+0.1,'★ '),colorgreen; ★关注★:MA(C,5),colorfff000; MA5:=MA(CLOSE,5); MA10:=MA(CLOSE,13); MA30:=MA(C,34); 五日乖离率:=(C-MA5)/MA5*100; BB05:=ATAN((MA5/REF(MA5,1)-1)*100)*180/3.1416; 速度5:=SMA(EMA((MA5-REF(MA5,1))/REF(MA5,1),3)*100,3,1); 加速度5:=EMA((速度5-REF(速度5,1)),3),NODRAW; ssr:=(C-MA30)/MA30*100,NODRAW; 加仓:=FILTER(COUNT(CROSS(BB05,34),5)>=1 AND MA5>REF(MA5,1) AND ssr>REF(ssr,1) AND MA10>REF(MA10,1) AND 加速度5>REF(加速度5,1) AND 速度5>REF(速度5,1) ,10) ; DRAWTEXT(加仓 ,LOW-0.08,'跟进'),coloryellow; EMA13:=EMA(C,13); EMA34:=EMA(C,34); EMA55:=EMA(C,55); AR1:=EMA55>EMA34 AND EMA34>EMA13; AR2:=BARSLAST((C-EMA13)/EMA13*100<-6); AR3:=EMA13>=REF(EMA13,2); AR4:=COUNT(CROSS(C,EMA13),AR2)=1; AR5:=AR1 AND AR2 AND AR3 AND AR4; AR6:=AR5 AND FILTER(AR5,10); DRAWTEXT(AR6,L*1.0,'───持股待涨'),COLORFF00FF; DRAWTEXT(H>REF(O,3)*1.19,H,'小心'),colorgreen; XXS:=MA(HIGH,5)*(1+5/100); DRAWTEXT(CROSS(XXS,C),H*1.02,'开盘逃'),coloryellow; XXS1:=MA(HIGH,5)*(1+5/100); DDDD:=CROSS(C,XXS1); DRAWTEXT(DDDD,HIGH*1.02,'明走'),coloryellow; EMA13:=EMA(C,13);///www.fxjgsw.com EMA34:=EMA(C,34); EMA55:=EMA(C,55); EMA120:=EMA(C,120); AR1:=EMA55>EMA34 AND EMA34>EMA13; AR2:=BARSLAST((C-EMA13)/EMA13*100<-6); AR3:=EMA13>=REF(EMA13,2); AR4:=COUNT(CROSS(C,EMA13),AR2)=1; AR5:=AR1 AND AR2 AND AR3 AND AR4; AR6:=AR5 AND FILTER(AR5,10); DRAWTEXT(AR6,L-0.1,'启动'),coloryellow; |
评论内容只代表网友观点,与本站立场无关!
本网提供的公式文件说明:
* alg格式飞狐股票公式,可以用飞狐交易师或者交易师软件导入;
* fnc格式大智慧新一代公式指标,可以用大智慧股票软件使用,少部分可以用分析家股票软件引入使用;
* exp格式大智慧经典版股票公式,仅可以用大智慧经典版股票软件引入使用;
* tni和tnc格式通达信股票公式,仅可以用通达信新引入使用,例如可以用通达信股票软件引入使用;
* tne,tn6格式通达信公式,可以用通达信公式编辑器5.0版导入,推荐通达信金融终端版本;
* hxf格式同花顺股票公式,仅可以用同花顺股票软件引入使用。
以上的各种软件都可以在本网股票软件栏目找到!
* 关于股票公式时间限制,如果在引入大智慧公式,交易师公式或者飞狐公式的时候,发现公式名称栏是空白的,这时候调整电脑时间到1997年,又能出现公式名称,并且能正常显示,可能是公式使用期限已过。
* 关于还原公式源码如果你忘记了自己编写的大智慧公式,通达信公式,同花顺公式,操盘手公式,飞狐公式,博易大师公式,金字塔公式,文华公式和交易师公式等等公式的密码,本网可帮恢复源码,有.偿.服.务无意勿扰,点击在线咨询联系我。
* 关于股票公式源码编辑
本网提供的源码,一般都可以编辑成公式,如果不明白公式的编辑,在本页右侧教程录像可参考,或者找公式教程资料学习,请搜索:教程
* 如果您发现软件内容或者链接错误,请点击报告错误谢谢!
* 站内提供的所有软件包含源码均是由网上搜集,若侵犯了你的版权利益,请联系通知我们!