主图傻瓜式界面,含有未来函数,所以会变,只是参考。 启动:EMA(C,N1),colorwhite,linethick1; 持股线:EMA(C,N2),coloryellow; 牛熊线:EMA(MA(CLOSE,3),N3),colorred; 长期线:EMA(C,N4),colormagenta; 成本线:EMA(C,N5),colorgray; 主力成本:COST(5),POINTDOT; 获利了结: COST(98),POINTDOT; STICKLINE(CLOSE>OPEN OR CLOSE=OPEN AND CLOSE>REF(CLOSE,1),LOW,HIGH,0.1,0),colorred; STICKLINE(CLOSE>OPEN OR CLOSE=OPEN AND CLOSE>REF(CLOSE,1),OPEN,CLOSE,10,0),colorred; STICKLINE(CLOSE<OPEN OR CLOSE=OPEN AND CLOSE<=REF(CLOSE,1),LOW,HIGH,0.1,0),colorff00ff; STICKLINE(CLOSE<OPEN OR CLOSE=OPEN AND CLOSE<=REF(CLOSE,1),OPEN,CLOSE,7,0),colorff00ff; STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,0,0 ),COLOR00FF11; STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,8,0 ),COLOR008855; STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,7,0 ),COLOR009900; STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,6,0 ),COLOR00AA00; STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,5,0 ),COLOR00BB00; STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,4,0 ),COLOR00CC00; STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,3,0 ),COLOR00DD00; STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,2,0 ),COLOR00EE00; STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,1,0 ),COLOR00FF55; STICKLINE(CLOSE>OPEN,CLOSE,OPEN,5,0) ,COLORFF66FF; STICKLINE(CLOSE>OPEN,CLOSE,OPEN,4,0) ,COLORFF88FF; STICKLINE(CLOSE>OPEN,CLOSE,OPEN,3,0) ,COLORFF99FF; STICKLINE(CLOSE>OPEN,CLOSE,OPEN,2,0) ,COLORFFAAFF; STICKLINE(CLOSE>OPEN,CLOSE,OPEN,0,0) ,COLORFFBBFF; STICKLINE(CLOSE>OPEN,CLOSE,OPEN,8,0) ,COLORFF00FF; STICKLINE(CLOSE>OPEN,CLOSE,OPEN,7,0) ,COLORFF22FF; STICKLINE(CLOSE>OPEN,CLOSE,OPEN,6,0) ,COLORFF44FF; STICKLINE(CLOSE>OPEN,CLOSE,OPEN,5,0) ,COLORFF66FF; STICKLINE(CLOSE>OPEN,CLOSE,OPEN,4,0) ,COLORFF88FF; STICKLINE(CLOSE>OPEN,CLOSE,OPEN,3,0) ,COLORFF99FF; STICKLINE(CLOSE>OPEN,CLOSE,OPEN,2,0) ,COLORFFAAFF; STICKLINE(C>=持股线 AND C>=O,C,O,9,0),colorred; STICKLINE(C>=持股线 AND C>=O,H,L,0,0),colorred; Var11:=ZIG(3,6)>REF(ZIG(3,6),1) AND REF(ZIG(3,6),1)<=REF(ZIG(3,6),2) AND REF(ZIG(3,6),2)<=REF(ZIG(3,6),3); Var12:=ZIG(3,6)<REF(ZIG(3,6),1) AND REF(ZIG(3,6),1)>=REF(ZIG(3,6),2) AND REF(ZIG(3,6),2)>=REF(ZIG(3,6),3); Var13:=ZIG(3,22)>REF(ZIG(3,22),1) AND REF(ZIG(3,22),1)<=REF(ZIG(3,22),2) AND REF(ZIG(3,22),2)<=REF(ZIG(3,22),3); Var14:=ZIG(3,22)<REF(ZIG(3,22),1) AND REF(ZIG(3,22),1)>=REF(ZIG(3,22),2) AND REF(ZIG(3,22),2)>=REF(ZIG(3,22),3); Var15:=ZIG(3,51)>REF(ZIG(3,51),1) AND REF(ZIG(3,51),1)<=REF(ZIG(3,51),2) AND REF(ZIG(3,51),2)<=REF(ZIG(3,51),3); Var16:=ZIG(3,51)<REF(ZIG(3,51),1) AND REF(ZIG(3,51),1)>=REF(ZIG(3,51),2) AND REF(ZIG(3,51),2)>=REF(ZIG(3,51),3); Var17:=ZIG(3,72)>REF(ZIG(3,72),1) AND REF(ZIG(3,72),1)<=REF(ZIG(3,72),2) AND REF(ZIG(3,72),2)<=REF(ZIG(3,72),3); Var18:=ZIG(3,72)<REF(ZIG(3,72),1) AND REF(ZIG(3,72),1)>=REF(ZIG(3,72),2) AND REF(ZIG(3,72),2)>=REF(ZIG(3,72),3); Var19:=EMA(C,2)-EMA(C,150); 买点1:=(Var11+Var13+Var15+Var17); 买点2:=(Var13+Var15+Var17); 卖点1:=(Var12+Var14+Var16+Var18); 卖点2:=(Var14+Var16+Var18); STICKLINE( 买点1>0 ,H,L, 10,1),colorwhite,linethick1;STICKLINE( 买点1>0,O,C,6,0),colorwhite,linethick1; STICKLINE( 买点2>0 ,H,L, 10,1),colorwhite,linethick1;STICKLINE( 买点2>0,O,C,6,0),colorred,linethick1; STICKLINE( 卖点1>0,H,L, 11,5),colorblue,linethick1;STICKLINE( 卖点1>0,O,C,6,0),colorbrown,linethick1; STICKLINE( 卖点2>0,H,L, 11,5),colorblue,linethick1;STICKLINE( 卖点2>0,O,C,6,0),colorwhite,linethick1; DRAWTEXT(卖点2>0, H,'顶'),colorblue,linethick3; LOWV:=LLV(LOW,9); HIGHV:=HHV(HIGH,9); RSV:=EMA((CLOSE-LOWV)/(HIGHV-LOWV)*100,3); K:=EMA(RSV,3); D:=MA(K,3); 买卖差:=K-D; BU:=CROSS(K,D); 多头排列:=启动>持股线 AND 启动>长期线 AND 持股线>长期线; 买进价:=((C-REF(MA(C,6),1))/6+MA(C,6))*1.004; 攻击:=BBI+3*STD(BBI,10),linethick1; STICKLINE(1,C,O,0,0),colorwhite; 上线:=SMA(C,2.5,1); 下线:=SMA(C,6.5,1); 上线1:=SMA(C,6,2); 下线1:=SMA(C,8,2); 攻击:BBI+3*STD(BBI,10),linethick1; STICKLINE( 上线>下线 AND (CLOSE>攻击),C,O,7,3),coloryellow;STICKLINE(上线>下线 AND (CLOSE>攻击),H,L,1,2),coloryellow; BBI:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4; LOWV:=LLV(LOW,9); HIGHV:=HHV(HIGH,9); RSV:=EMA((CLOSE-LOWV)/(HIGHV-LOWV)*100,3); K:=EMA(RSV,3); D:MA(K,3); 金叉:=CROSS(K,50); DRAWTEXT(金叉>0 AND K<80 AND K>D AND OPEN>牛熊线 ,LOW*0.942,' 大胆作多'),colorred; DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26); DEA:=EMA(DIFF,8); A1:=BARSLAST(REF(CROSS(diff,dea),1)); B1:=REF(C,A1+1)>C AND REF(diff,A1+1)<diff AND CROSS(diff,dea); DRAWTEXT(IF(B1>0,1,0),L-0.1,'MACD底背'),colorgreen; RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100; k:=SMA(RSV,3,1); d:=SMA(k,3,1); A2:=BARSLAST(REF(CROSS(k,d),1)); B2:=REF(C,A2+1)>C AND REF(k,A2+1)<k AND CROSS(k,d); DRAWTEXT(IF(B2>0,1,0),L-0.25,'KDJ底背'),coloryellow; LC:=REF(CLOSE,1); RSI1:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100; RSI2:=SMA(MAX(CLOSE-LC,0),12,1)/SMA(ABS(CLOSE-LC),12,1)*100; A3:=BARSLAST(REF(CROSS(RSI1,RSI2),1)); B3:=REF(C,A3+1)>C AND REF(RSI1,A3+1)<RSI1 AND CROSS(RSI1,RSI2); DRAWTEXT(IF(B3>0,1,0),L-0.4,'RSI底背'),colorcyan; C1:=BARSLAST(REF(CROSS(dea,diff),1)); D1:=REF(C,C1+1)<C AND REF(diff,C1+1)>diff AND CROSS(dea,diff); DRAWTEXT(IF(D1>0,1,0),H+0.1,'MACD顶背'),colorwhite; C2:=BARSLAST(REF(CROSS(d,K),1)); D2:=REF(C,C2+1)<C AND REF(k,C2+1)>k AND CROSS(d,K); DRAWTEXT(IF(D2>0,1,0),H+0.25,'KDJ顶背'),colorwhite; C3:=BARSLAST(REF(CROSS(RSI2,RSI1),1)); D3:=REF(C,C3+1)<C AND REF(RSI1,C3+1)>RSI1 AND CROSS(RSI2,RSI1); DRAWTEXT(IF(D3>0,1,0),H+0.4,'RSI顶背'),colormagenta; |
评论内容只代表网友观点,与本站立场无关!
本网提供的公式文件说明:
* alg格式飞狐股票公式,可以用飞狐交易师或者交易师软件导入;
* fnc格式大智慧新一代公式指标,可以用大智慧股票软件使用,少部分可以用分析家股票软件引入使用;
* exp格式大智慧经典版股票公式,仅可以用大智慧经典版股票软件引入使用;
* tni和tnc格式通达信股票公式,仅可以用通达信新引入使用,例如可以用通达信股票软件引入使用;
* tne,tn6格式通达信公式,可以用通达信公式编辑器5.0版导入,推荐通达信金融终端版本;
* hxf格式同花顺股票公式,仅可以用同花顺股票软件引入使用。
以上的各种软件都可以在本网股票软件栏目找到!
* 关于股票公式时间限制,如果在引入大智慧公式,交易师公式或者飞狐公式的时候,发现公式名称栏是空白的,这时候调整电脑时间到1997年,又能出现公式名称,并且能正常显示,可能是公式使用期限已过。
* 关于还原公式源码如果你忘记了自己编写的大智慧公式,通达信公式,同花顺公式,操盘手公式,飞狐公式,博易大师公式,金字塔公式,文华公式和交易师公式等等公式的密码,本网可帮恢复源码,有.偿.服.务无意勿扰,点击在线咨询联系我。
* 关于股票公式源码编辑
本网提供的源码,一般都可以编辑成公式,如果不明白公式的编辑,在本页右侧教程录像可参考,或者找公式教程资料学习,请搜索:教程
* 如果您发现软件内容或者链接错误,请点击报告错误谢谢!
* 站内提供的所有软件包含源码均是由网上搜集,若侵犯了你的版权利益,请联系通知我们!