»查看更多分类

通达信一品通道主图指标 源码 贴图

发布时间:2024-02-20 09:49:00  点击:

通达信一品通道主图指标 源码 贴图

通达信一品通道主图指标 源码 贴图

通达信一品通道主图指标 源码 贴图

N:=20;
M:=90;
DD:=250;
X_1:=COST(50)=DRAWNULL;
TESTSKIP(CODELIKE(1) OR X_1);
X_2:=AMOUNT/VOL/100;
X_3:=EMA(X_2,N);
X_4:=M;{公式网WWW.GPXIAZAI.COM}
DIF:EMA(ABS(100*CLOSE/X_3-100),X_4),NODRAW;
HH:X_3*(100+DIF)/100,DOTLINE,COLORRED,LINETHICK2;
MID:X_3,DOTLINE,COLORMAGENTA;
LL:X_3*(100-DIF)/100,DOTLINE,COLORGREEN,LINETHICK2;
HH2:IF(CURRBARSCOUNT<=DD,X_3*(100+DIF*2)/100,DRAWNULL),DOTLINE,COLORYELLOW;
LL2:IF(CURRBARSCOUNT<=DD,X_3*(100-DIF*2)/100,DRAWNULL),DOTLINE,COLORYELLOW;
NOTEXTHH3:IF(CURRBARSCOUNT<=DD,X_3*(100+DIF*3)/100,DRAWNULL),COLORFF8080;
NOTEXTLL3:IF(CURRBARSCOUNT<=DD,X_3*(100-DIF*3)/100,DRAWNULL),COLORFF8080;
STICKLINE(CURRBARSCOUNT<=DD,(HH2+NOTEXTHH3)/2,NOTEXTHH3,0.2,(-1)),COLOREE7070;
STICKLINE(CURRBARSCOUNT<=DD,(LL2+NOTEXTLL3)/2,NOTEXTLL3,0.2,(-1)),COLOREE7070;
X_5:=REF(BARSLAST(CROSS(LL,MAX(CLOSE,OPEN))),1)+1;
X_6:=X_5>=1 AND (CLOSE>OPEN AND CLOSE>REF(CLOSE,1) AND COUNT(CLOSE>REF(CLOSE,1),X_5)=1);
X_7:=REF(BARSLAST(CROSS(LL2,MAX(CLOSE,OPEN))),1)+1;
X_8:=X_7>=1 AND LOW< LL2 AND CLOSE< LL AND CLOSE>OPEN AND CLOSE>REF(CLOSE,1) AND COUNT(CLOSE>REF(CLOSE,1),X_7)=1;
X_9:=HIGH< REF(HIGH,1) AND LOW< REF(LOW,1);
X_10:=HIGH< REF(HIGH,1) AND LOW>REF(LOW,1);
X_11:=HIGH>REF(HIGH,1) AND LOW< REF(LOW,1);
X_12:=HIGH>REF(HIGH,1) AND LOW>REF(LOW,1);
X_13:=REF(HIGH,2)< HIGH AND REF(LOW,2)< LOW AND REF(HIGH,2)>REF(HIGH,1) AND REF(LOW,2)< REF(LOW,1);
X_14:=COUNT(X_9,6)>=3 AND COUNT(X_10 OR X_11,5)=0 AND LLVBARS(LOW,6)=1 AND HHVBARS(HIGH,6)>=5 AND X_12;
X_15:=COUNT(X_9,7)>=3 AND COUNT(X_10 OR X_11,6)=1 AND LLVBARS(LOW,7)=2 AND HHVBARS(HIGH,7)>=6 AND X_13;
X_16:=COUNT(X_9,7)>=3 AND COUNT(X_10 OR X_11,6)=1 AND LLVBARS(LOW,7)=1 AND HHVBARS(HIGH,7)>=6 AND X_12;
X_17:=COUNT(X_9,8)>=3 AND COUNT(X_10 OR X_11,7)<=2 AND LLVBARS(LOW,8)=2 AND HHVBARS(HIGH,8)>=7 AND X_13;
X_18:=COUNT(X_9,8)>=3 AND COUNT(X_10 OR X_11,7)<=2 AND LLVBARS(LOW,8)=1 AND HHVBARS(HIGH,8)>=7 AND X_12;
X_19:=COUNT(X_9,9)>=3 AND COUNT(X_10 OR X_11,8)<=3 AND LLVBARS(LOW,9)=2 AND HHVBARS(HIGH,9)>=8 AND X_13;
X_20:=COUNT(X_9,9)>=3 AND COUNT(X_10 OR X_11,8)<=3 AND LLVBARS(LOW,9)=1 AND HHVBARS(HIGH,9)>=8 AND X_12;
X_21:=COUNT(X_9,10)>=3 AND COUNT(X_10 OR X_11,9)<=4 AND LLVBARS(LOW,10)=2 AND HHVBARS(HIGH,10)>=9 AND X_13;
X_22:=COUNT(X_9,10)>=3 AND COUNT(X_10 OR X_11,9)<=4 AND LLVBARS(LOW,10)=1 AND HHVBARS(HIGH,10)>=9 AND X_12;
X_23:=COUNT(X_9,11)>=3 AND COUNT(X_10 OR X_11,10)<=5 AND LLVBARS(LOW,11)=2 AND HHVBARS(HIGH,11)>=10 AND X_13;
X_24:=COUNT(X_9,3)>=1 AND LLVBARS(LOW,3)=1 AND X_12;
X_25:=COUNT(X_9,4)>=1 AND LLVBARS(LOW,4)=2 AND X_13;
X_26:=COUNT(X_9,4)>=1 AND COUNT(X_10 OR X_11,4)=1 AND LLVBARS(LOW,4)=1 AND X_12;
X_27:=COUNT(X_9,5)>=1 AND COUNT(X_10 OR X_11,5)=2 AND LLVBARS(LOW,5)=2 AND X_13;
X_28:=X_14 OR X_15 OR X_16 OR X_17 OR X_18 OR X_19 OR X_20 OR X_21 OR X_22 OR X_23 OR X_24 OR X_25 OR X_26 OR X_27;
X_29:=X_7>=1 AND X_28 AND COUNT(X_28,X_7)=1;
DRAWICON(X_6 AND NOT(X_8),LOW,1);
DRAWICON(X_8 AND NOT(X_29),LOW,9);
DRAWICON(X_29,LOW,25);
X_30:=REF(BARSLAST(CROSS(MIN(OPEN,CLOSE),HH)),1)+1;
X_31:=CLOSE< OPEN OR CLOSE< REF(CLOSE,1) AND COUNT(CLOSE< HH,X_30)=1;
DRAWICON(X_31,HIGH*1.02,2);
X_32:=REF(BARSLAST(CROSS(MIN(OPEN,CLOSE),NOTEXTHH3) OR CROSS(MIN(OPEN,CLOSE),HH2)),1)+1;
X_33:=CLOSE< OPEN OR CLOSE< REF(CLOSE,1) AND COUNT(CLOSE< NOTEXTHH3,X_32)=1;
X_34:=CLOSE< REF((CLOSE+OPEN)/2,1) AND REF(CLOSE,1)>HH2;
DRAWICON(X_33 OR X_34,HIGH*1.02,15);


 

 
0

友情提示: 股市有风险,投资需谨慎,资料由公式网整理收集

使用必看(为了保障您的权益,请在研究学习资料前了解相关说明)

  • ›› 指标不属于投资资讯产品和推股软件,指标旨在辅助大家提高投资胜率参考而研发,仅供参考学习研究之用,不构成投资建议或未来保证,依此操作买卖,盈亏自负。
  • ›› 该资料仅供学习和研究使用,不得用于商业或者非法用途。本站对于提供的指标公式不拥有任何权利,其版权归该资源的合法拥有者所有,如有侵犯您的版权,请查看《公式网的侵权处理流程》,本站将于五个工作日内移除相关内容。
  • ›› 如果您发现下载链接错误,请点击报告错误谢谢!

找不到你要的公式?给我们建议