极品波段 主图 和副图 {极品波段} VAR1:=EMA(CLOSE,15); VAR2:=EMA(CLOSE,60); 红多:(CLOSE-VAR1)*2/(15+1)+VAR1,LINETHICK1, COLORRED; VAR3:=(CLOSE-VAR2)*2/(60+1)+VAR2; 绿空:IF(红多>VAR3,VAR3,红多),LINETHICK1, COLORGREEN; 生命线:VAR3,LINETHICK2, COLORYELLOW; HX:=HHV(HIGH,3); LX:=LLV(LOW,3); H1:=IF(HX<REF(HX,1)&&HX<REF(HX,2)&&HX<REF(HX,4)&&LX<REF(LX,1)&&LX<REF(LX,3)&&LX<REF(LX,5)&&OPEN>CLOSE&&(HHV(OPEN,0)-CLOSE)>0,REF(HX,4),0); L1:=IF(LX>REF(LX,1)&&LX>REF(LX,3)&&LX>REF(LX,5)&&HX>REF(HX,1)&&HX>REF(HX,2)&&HX>REF(HX,4)&&OPEN<CLOSE&&(CLOSE-LLV(OPEN,0))>0,REF(LX,4),0); H2:=VALUEWHEN(H1>0,H1); L2:=VALUEWHEN(L1>0,L1); K1:=IF(CLOSE>H2,-3,IF(CLOSE<L2,1,0)); K2:=VALUEWHEN(K1<>0,K1); G:=IF(K2=1,H2,L2); G1:=VALUEWHEN(ISLASTBAR,G); TMP:=K2; W1:=K2; W2:=OPEN-CLOSE; HT:=IF(OPEN>CLOSE,OPEN,CLOSE); LT:=IF(OPEN<CLOSE,OPEN,CLOSE); STICKLINE(W1=1,HIGH,HT,0,0),COLORCYAN; STICKLINE(W1=1,LOW,LT,0,0),COLORCYAN; STICKLINE(W1=-3,HIGH,HT,0,0),COLORRED; STICKLINE(W1=-3,LOW,LT,0,0),COLORRED; STICKLINE(W1>0,OPEN,CLOSE,3,1),COLORCYAN; STICKLINE(W1<=0,OPEN,CLOSE,3,1),COLORRED; STICKLINE(W2>0&&W1<=0,OPEN,CLOSE,3,0),COLORRED; STICKLINE(W2>0&&W1>0,OPEN,CLOSE,3,0),COLORCYAN; A:=WMA(HIGH,30); B:=WMA(LOW,30); A1:=WMA(HIGH,150),LINETHICK2; B1:=WMA(LOW,150); S1:=CROSS(CLOSE,WMA(HIGH,150)); X1:=CROSS(WMA(LOW,150),CLOSE); WS1:=BARSLAST(S1)+1; WX1:=BARSLAST(X1)+1; SS1:=CROSS(SUM(S1,WX1),0.5); XX1:=CROSS(SUM(X1,WS1),0.5); S:=CROSS(CLOSE,WMA(HIGH,30)); X:=CROSS(WMA(LOW,30),CLOSE),LINETHICK2; WS:=BARSLAST(S)+1,LINETHICK2; WX:=BARSLAST(X)+1,LINETHICK2; SS:=CROSS(SUM(S,WX),0.5); XX:=CROSS(SUM(X,WS),0.5); {STICKLINE(CLOSE>WMA(HIGH,30),WMA(HIGH,30),WMA(LOW,30),3,1),COLORMAGENTA; STICKLINE(CLOSE<WMA(LOW,30),WMA(LOW,30),WMA(HIGH,30),3,1),COLORGREEN;} STICKLINE(CLOSE>WMA(HIGH,150),WMA(HIGH,150),WMA(LOW,150),3,1),COLORRED; STICKLINE(CLOSE<WMA(LOW,150),WMA(LOW,150),WMA(HIGH,150),3,1),COLORBLUE; {IF(CLOSE>WMA(HIGH,30),WMA(HIGH,30),DRAWNULL),COLORMAGENTA; IF(CLOSE<WMA(HIGH,30),WMA(HIGH,30),DRAWNULL),COLORGREEN; IF(CLOSE>WMA(LOW,30),WMA(LOW,30),DRAWNULL),COLORMAGENTA; IF(CLOSE<WMA(LOW,30),WMA(LOW,30),DRAWNULL),COLORGREEN;} IF(CLOSE>WMA(HIGH,150),WMA(HIGH,150),DRAWNULL),COLORRED; IF(CLOSE<WMA(HIGH,150),WMA(HIGH,150),DRAWNULL),COLORBLUE; IF(CLOSE>WMA(LOW,150),WMA(LOW,150),DRAWNULL),COLORRED; IF(CLOSE<WMA(LOW,150),WMA(LOW,150),DRAWNULL),COLORBLUE; {STICKLINE(SUM(X,WS)>0.5 && CLOSE>=OPEN,OPEN,CLOSE,3,1),COLORCYAN; STICKLINE(SUM(X,WS)>0.5 && CLOSE<OPEN,OPEN,CLOSE,3,0),COLORCYAN; STICKLINE(SUM(X,WS)>0.5 AND CLOSE>OPEN,HIGH,CLOSE,0,0),COLORCYAN; STICKLINE(SUM(X,WS)>0.5 AND CLOSE>OPEN,LOW,OPEN,0,0),COLORCYAN; STICKLINE(SUM(X,WS)>0.5 AND CLOSE<OPEN,HIGH,OPEN,0,0),COLORCYAN; STICKLINE(SUM(X,WS)>0.5 AND CLOSE<OPEN,LOW,CLOSE,0,0),COLORCYAN; STICKLINE(SUM(X,WS)>0.5 AND CLOSE=OPEN,HIGH,LOW,0,0),COLORCYAN; STICKLINE(SUM(S,WX)>0.5 && CLOSE>=OPEN,OPEN,CLOSE,3,1),COLORRED; STICKLINE(SUM(S,WX)>0.5 && CLOSE<OPEN,OPEN,CLOSE,3,0),COLORRED; STICKLINE(SUM(S,WX)>0.5 AND CLOSE>OPEN,HIGH,CLOSE,0,0),COLORRED; STICKLINE(SUM(S,WX)>0.5 AND CLOSE>OPEN,LOW,OPEN,0,0),COLORRED; STICKLINE(SUM(S,WX)>0.5 AND CLOSE<OPEN,HIGH,OPEN,0,0),COLORRED; STICKLINE(SUM(S,WX)>0.5 AND CLOSE<OPEN,LOW,CLOSE,0,0),COLORRED; STICKLINE(SUM(S,WX)>0.5 AND CLOSE=OPEN,HIGH,LOW,0,0),COLORRED;) {//DRAWTEXT(SS,LOW-(LOW*0.002*LHS),'买'); //DRAWTEXT(XX,HIGH+(CLOSE*0.0015*LHS),'卖');}; YJD:=IF(DATE+19000000>20200413,1,0); DRAWTEXT_FIX(ISLASTBAR=1 AND YJD,0.1,0.2,0,'分析家公式网'),COLORYELLOW; |
评论内容只代表网友观点,与本站立场无关!
本网提供的公式文件说明:
* alg格式飞狐股票公式,可以用飞狐交易师或者交易师软件导入;
* fnc格式大智慧新一代公式指标,可以用大智慧股票软件使用,少部分可以用分析家股票软件引入使用;
* exp格式大智慧经典版股票公式,仅可以用大智慧经典版股票软件引入使用;
* tni和tnc格式通达信股票公式,仅可以用通达信新引入使用,例如可以用通达信股票软件引入使用;
* tne,tn6格式通达信公式,可以用通达信公式编辑器5.0版导入,推荐通达信金融终端版本;
* hxf格式同花顺股票公式,仅可以用同花顺股票软件引入使用。
以上的各种软件都可以在本网股票软件栏目找到!
* 关于股票公式时间限制,如果在引入大智慧公式,交易师公式或者飞狐公式的时候,发现公式名称栏是空白的,这时候调整电脑时间到1997年,又能出现公式名称,并且能正常显示,可能是公式使用期限已过。
* 关于还原公式源码如果你忘记了自己编写的大智慧公式,通达信公式,同花顺公式,操盘手公式,飞狐公式,博易大师公式,金字塔公式,文华公式和交易师公式等等公式的密码,本网可帮恢复源码,有.偿.服.务无意勿扰,点击在线咨询联系我。
* 关于股票公式源码编辑
本网提供的源码,一般都可以编辑成公式,如果不明白公式的编辑,在本页右侧教程录像可参考,或者找公式教程资料学习,请搜索:教程
* 如果您发现软件内容或者链接错误,请点击报告错误谢谢!
* 站内提供的所有软件包含源码均是由网上搜集,若侵犯了你的版权利益,请联系通知我们!