寻找主均线指标公式(通达信如何在主图显示黑牛均线?)
1. 通达信如何在主图显示黑牛均线?
1、打开主图底部工具栏,单击“技术指标”;
2、单击“主图指标”,在弹窗中选择“黑牛均线”;
3、然后调整一些配置参数,如移动平均周期、类型等;
4、点击“确定”按钮,即可在主图中显示黑牛均线。
2. 通达信如何在主图显示黑牛均线?
1、打开主图底部工具栏,单击“技术指标”;
2、单击“主图指标”,在弹窗中选择“黑牛均线”;
3、然后调整一些配置参数,如移动平均周期、类型等;
4、点击“确定”按钮,即可在主图中显示黑牛均线。
3. 通达信如何在主图显示黑牛均线?
1、打开主图底部工具栏,单击“技术指标”;
2、单击“主图指标”,在弹窗中选择“黑牛均线”;
3、然后调整一些配置参数,如移动平均周期、类型等;
4、点击“确定”按钮,即可在主图中显示黑牛均线。
4. 通达信均线指标源码,输入MAN1:MA(C,N1),COLORYELLOW;但是主图上N1不随参数改变而变化?
从图上看现在参数值是15,这样设置
5. 通达信如何在主图显示黑牛均线?
1、打开主图底部工具栏,单击“技术指标”;
2、单击“主图指标”,在弹窗中选择“黑牛均线”;
3、然后调整一些配置参数,如移动平均周期、类型等;
4、点击“确定”按钮,即可在主图中显示黑牛均线。
6. 分时线均线公式?
分时均价线计算公式
1分钟均线:在查看—系统设置—设置4—锁定初始K线数是240。
2分钟均线:在查看—系统设置—设置4—锁定初始K线数是120。
设置2分钟:在查看—系统设置1—把多分钟线分钟数10改为2。
(一)
A:=CURRBARSCOUNT;
DAY!=REF(DAY,1);
A2:=BARSLAST+1;
A3:=MA(C,A2);
A4:=SUM(AMO,A2)/SUM(VOL,A2)/100;
A5:=IF(CAPITAL>0,A4,A3);
现价:IF(A<=CONST(A2),CLOSE,DRAWNULL);
均价:IF(A<=CONST(A2),A5,DRAWNULL);
前收盘:IF(A<=CONST(A2),DYNAINFO(3),DRAWNULL),COLORRED,LINETHICK2;
(二)
STICKLINE(C>0,L,H,3,0),COLORBLACK;
A:=CURRBARSCOUNT;
=DAY!=REF(DAY,1);
A2:=BARSLAST+1;
A3:=MA(C,A2);
A4:=SUM(AMO,A2)/SUM(VOL,A2)/100;
A5:=IF(CAPITAL>0,A4,A3);
现价:IF(A<=CONST(A2),CLOSE,DRAWNULL)COLORWHITE;
均价:IF(A<=CONST(A2),A5,DRAWNULL);
前收盘:IF(A<=CONST(A2),DYNAINFO(3),DRAWNULL),COLORRED,LINETHICK2;
RC:=DYNAINFO( 3);
S2:=SMA(C,2,1);
S6:=SMA(C,6,1);
DK:=2*(S2-S6);
STICKLINE(DK>0,RC,RC+DK,0,1),COLORRED;
STICKLINE(DK<0,RC,RC+DK,0,1),COLORCYAN;
(三)
A:=CURRBARSCOUN:=DAY!=REF(DAY,1);
A2:=BARSLAST+1;
A3:=MA(C,A2);
A4:=SUM(AMO,A2)/SUM(VOL,A2)/100;
A5:=IF(CAPITAL>0,A4,A3);
现价:IF(A<=CONST(A2),CLOSE,DRAWNULL)COLORWHITE;
均价:IF(A<=CONST(A2),A5,DRAWNULL);
前收盘:IF(A<=CONST(A2),DYNAINFO(3),DRAWNULL),COLORRED,LINETHICK2;
RC:=DYNAINFO( 3);
S2:=SMA(C,2,1);
S6:=SMA(C,6,1);
DK:=2*(S2-S6
7. 通达信均线指标源码,输入MAN1:MA(C,N1),COLORYELLOW;但是主图上N1不随参数改变而变化?
从图上看现在参数值是15,这样设置
8. 5日均线上穿10日均线买入提示公式主图指标怎么写?
5日均线上穿10日均线买入提示公式主图指标:MA1:=MA(C,5); MA2:=MA(C,10); XG:CROSS(MA1,MA2); 5日线上穿10日线配合5日量线上穿10日量线和MACD金叉就可以跟进。
求高手写AMO均量线选股公式[通达信公式]具体条件如下:成交金额均量线参数为:5日均量线、40日均量线、135日均量线要求:5日均量线上穿135均量线,在上穿40均量线。
9. 通达信风口选股指标公式?
VAR1:=COst(10);
VAR2:=REF(CLOSE,7)/MA(REF(CLOSE,7),3)>=1.07 AND REF(CLOSE,7)=HHV(REF(CLOSE,7),3) AND MA(REF(vol,7),2)/MA(REF(VOL,7),40)>=3 AND MA(REF(VOL,7),2)=HHV(MA(REF(VOL,7),2),3) AND REF(VOL,7)>REF(REF(VOL,7),1) AND REF(CLOSE,7)>REF(REF(CLOSE,7),1);
VAR3:=REF(REF(CLOSE,7),1);
VAR4:=SMA(MAX(REF(CLOSE,7)-VAR3,0),5,1)/SMA(Abs(REF(CLOSE,7)-VAR3),5,1)*100;
VAR5:=COUNT(VAR4<20,20)>=1;
VAR6:=(INDEXC-LLV(INDEXL,89))/(HHV(INDEXH,89)-LLV(INDEXL,89))*100;
VAR7:=SMA(VAR6,8,1);
VAR8:=SMA(VAR7,10,1);
VAR9:=REF(INDEXC,1);
VARA:=SMA(MAX(INDEXC-VAR9,0),6,1)/SMA(ABS(INDEXC-VAR9),6,1)*100;
VARB:=VARA>=75 AND VARA<90 AND VAR7>VAR8 AND BArslAST(crOSS(VAR7,VAR8))<=21;
VAR2 AND VAR5 AND VARB;
10. 5日均线上穿10日均线买入提示公式主图指标怎么写?
5日均线上穿10日均线买入提示公式主图指标:MA1:=MA(C,5); MA2:=MA(C,10); XG:CROSS(MA1,MA2); 5日线上穿10日线配合5日量线上穿10日量线和MACD金叉就可以跟进。
求高手写AMO均量线选股公式[通达信公式]具体条件如下:成交金额均量线参数为:5日均量线、40日均量线、135日均量线要求:5日均量线上穿135均量线,在上穿40均量线。
11. 主图黄金分割线公式?
为 0.618。这是因为黄金分割线是根据黄金分割比例来计算的,黄金分割比例是指两个物体之间的最优比例,通常为1:1.618或0.618:1。而在主图中,黄金分割线指的是在价格走势中,把涨幅或跌幅的幅度按照黄金分割比例来计算得到的线。黄金分割线的作用是用于判断价格的走势和趋势,帮助投资者决策买进或卖出的时机。此外,在主图中还有其他重要的线和指标,如均线和MACD等,需要结合大盘的走势和个股的基本面情况来进行分析和判断。
12. 主图黄金分割线公式?
为 0.618。这是因为黄金分割线是根据黄金分割比例来计算的,黄金分割比例是指两个物体之间的最优比例,通常为1:1.618或0.618:1。而在主图中,黄金分割线指的是在价格走势中,把涨幅或跌幅的幅度按照黄金分割比例来计算得到的线。黄金分割线的作用是用于判断价格的走势和趋势,帮助投资者决策买进或卖出的时机。此外,在主图中还有其他重要的线和指标,如均线和MACD等,需要结合大盘的走势和个股的基本面情况来进行分析和判断。
13. 通达信均线指标源码,输入MAN1:MA(C,N1),COLORYELLOW;但是主图上N1不随参数改变而变化?
从图上看现在参数值是15,这样设置
14. 通达信风口选股指标公式?
VAR1:=COst(10);
VAR2:=REF(CLOSE,7)/MA(REF(CLOSE,7),3)>=1.07 AND REF(CLOSE,7)=HHV(REF(CLOSE,7),3) AND MA(REF(vol,7),2)/MA(REF(VOL,7),40)>=3 AND MA(REF(VOL,7),2)=HHV(MA(REF(VOL,7),2),3) AND REF(VOL,7)>REF(REF(VOL,7),1) AND REF(CLOSE,7)>REF(REF(CLOSE,7),1);
VAR3:=REF(REF(CLOSE,7),1);
VAR4:=SMA(MAX(REF(CLOSE,7)-VAR3,0),5,1)/SMA(Abs(REF(CLOSE,7)-VAR3),5,1)*100;
VAR5:=COUNT(VAR4<20,20)>=1;
VAR6:=(INDEXC-LLV(INDEXL,89))/(HHV(INDEXH,89)-LLV(INDEXL,89))*100;
VAR7:=SMA(VAR6,8,1);
VAR8:=SMA(VAR7,10,1);
VAR9:=REF(INDEXC,1);
VARA:=SMA(MAX(INDEXC-VAR9,0),6,1)/SMA(ABS(INDEXC-VAR9),6,1)*100;
VARB:=VARA>=75 AND VARA<90 AND VAR7>VAR8 AND BArslAST(crOSS(VAR7,VAR8))<=21;
VAR2 AND VAR5 AND VARB;
15. 通达信均线指标源码,输入MAN1:MA(C,N1),COLORYELLOW;但是主图上N1不随参数改变而变化?
从图上看现在参数值是15,这样设置
16. 主图黄金分割线公式?
为 0.618。这是因为黄金分割线是根据黄金分割比例来计算的,黄金分割比例是指两个物体之间的最优比例,通常为1:1.618或0.618:1。而在主图中,黄金分割线指的是在价格走势中,把涨幅或跌幅的幅度按照黄金分割比例来计算得到的线。黄金分割线的作用是用于判断价格的走势和趋势,帮助投资者决策买进或卖出的时机。此外,在主图中还有其他重要的线和指标,如均线和MACD等,需要结合大盘的走势和个股的基本面情况来进行分析和判断。
17. 通达信风口选股指标公式?
VAR1:=COst(10);
VAR2:=REF(CLOSE,7)/MA(REF(CLOSE,7),3)>=1.07 AND REF(CLOSE,7)=HHV(REF(CLOSE,7),3) AND MA(REF(vol,7),2)/MA(REF(VOL,7),40)>=3 AND MA(REF(VOL,7),2)=HHV(MA(REF(VOL,7),2),3) AND REF(VOL,7)>REF(REF(VOL,7),1) AND REF(CLOSE,7)>REF(REF(CLOSE,7),1);
VAR3:=REF(REF(CLOSE,7),1);
VAR4:=SMA(MAX(REF(CLOSE,7)-VAR3,0),5,1)/SMA(Abs(REF(CLOSE,7)-VAR3),5,1)*100;
VAR5:=COUNT(VAR4<20,20)>=1;
VAR6:=(INDEXC-LLV(INDEXL,89))/(HHV(INDEXH,89)-LLV(INDEXL,89))*100;
VAR7:=SMA(VAR6,8,1);
VAR8:=SMA(VAR7,10,1);
VAR9:=REF(INDEXC,1);
VARA:=SMA(MAX(INDEXC-VAR9,0),6,1)/SMA(ABS(INDEXC-VAR9),6,1)*100;
VARB:=VARA>=75 AND VARA<90 AND VAR7>VAR8 AND BArslAST(crOSS(VAR7,VAR8))<=21;
VAR2 AND VAR5 AND VARB;
18. 通达信风口选股指标公式?
VAR1:=COst(10);
VAR2:=REF(CLOSE,7)/MA(REF(CLOSE,7),3)>=1.07 AND REF(CLOSE,7)=HHV(REF(CLOSE,7),3) AND MA(REF(vol,7),2)/MA(REF(VOL,7),40)>=3 AND MA(REF(VOL,7),2)=HHV(MA(REF(VOL,7),2),3) AND REF(VOL,7)>REF(REF(VOL,7),1) AND REF(CLOSE,7)>REF(REF(CLOSE,7),1);
VAR3:=REF(REF(CLOSE,7),1);
VAR4:=SMA(MAX(REF(CLOSE,7)-VAR3,0),5,1)/SMA(Abs(REF(CLOSE,7)-VAR3),5,1)*100;
VAR5:=COUNT(VAR4<20,20)>=1;
VAR6:=(INDEXC-LLV(INDEXL,89))/(HHV(INDEXH,89)-LLV(INDEXL,89))*100;
VAR7:=SMA(VAR6,8,1);
VAR8:=SMA(VAR7,10,1);
VAR9:=REF(INDEXC,1);
VARA:=SMA(MAX(INDEXC-VAR9,0),6,1)/SMA(ABS(INDEXC-VAR9),6,1)*100;
VARB:=VARA>=75 AND VARA<90 AND VAR7>VAR8 AND BArslAST(crOSS(VAR7,VAR8))<=21;
VAR2 AND VAR5 AND VARB;
19. 分时线均线公式?
分时均价线计算公式
1分钟均线:在查看—系统设置—设置4—锁定初始K线数是240。
2分钟均线:在查看—系统设置—设置4—锁定初始K线数是120。
设置2分钟:在查看—系统设置1—把多分钟线分钟数10改为2。
(一)
A:=CURRBARSCOUNT;
DAY!=REF(DAY,1);
A2:=BARSLAST+1;
A3:=MA(C,A2);
A4:=SUM(AMO,A2)/SUM(VOL,A2)/100;
A5:=IF(CAPITAL>0,A4,A3);
现价:IF(A<=CONST(A2),CLOSE,DRAWNULL);
均价:IF(A<=CONST(A2),A5,DRAWNULL);
前收盘:IF(A<=CONST(A2),DYNAINFO(3),DRAWNULL),COLORRED,LINETHICK2;
(二)
STICKLINE(C>0,L,H,3,0),COLORBLACK;
A:=CURRBARSCOUNT;
=DAY!=REF(DAY,1);
A2:=BARSLAST+1;
A3:=MA(C,A2);
A4:=SUM(AMO,A2)/SUM(VOL,A2)/100;
A5:=IF(CAPITAL>0,A4,A3);
现价:IF(A<=CONST(A2),CLOSE,DRAWNULL)COLORWHITE;
均价:IF(A<=CONST(A2),A5,DRAWNULL);
前收盘:IF(A<=CONST(A2),DYNAINFO(3),DRAWNULL),COLORRED,LINETHICK2;
RC:=DYNAINFO( 3);
S2:=SMA(C,2,1);
S6:=SMA(C,6,1);
DK:=2*(S2-S6);
STICKLINE(DK>0,RC,RC+DK,0,1),COLORRED;
STICKLINE(DK<0,RC,RC+DK,0,1),COLORCYAN;
(三)
A:=CURRBARSCOUN:=DAY!=REF(DAY,1);
A2:=BARSLAST+1;
A3:=MA(C,A2);
A4:=SUM(AMO,A2)/SUM(VOL,A2)/100;
A5:=IF(CAPITAL>0,A4,A3);
现价:IF(A<=CONST(A2),CLOSE,DRAWNULL)COLORWHITE;
均价:IF(A<=CONST(A2),A5,DRAWNULL);
前收盘:IF(A<=CONST(A2),DYNAINFO(3),DRAWNULL),COLORRED,LINETHICK2;
RC:=DYNAINFO( 3);
S2:=SMA(C,2,1);
S6:=SMA(C,6,1);
DK:=2*(S2-S6
20. 主图黄金分割线公式?
为 0.618。这是因为黄金分割线是根据黄金分割比例来计算的,黄金分割比例是指两个物体之间的最优比例,通常为1:1.618或0.618:1。而在主图中,黄金分割线指的是在价格走势中,把涨幅或跌幅的幅度按照黄金分割比例来计算得到的线。黄金分割线的作用是用于判断价格的走势和趋势,帮助投资者决策买进或卖出的时机。此外,在主图中还有其他重要的线和指标,如均线和MACD等,需要结合大盘的走势和个股的基本面情况来进行分析和判断。
21. 5日均线上穿10日均线买入提示公式主图指标怎么写?
5日均线上穿10日均线买入提示公式主图指标:MA1:=MA(C,5); MA2:=MA(C,10); XG:CROSS(MA1,MA2); 5日线上穿10日线配合5日量线上穿10日量线和MACD金叉就可以跟进。
求高手写AMO均量线选股公式[通达信公式]具体条件如下:成交金额均量线参数为:5日均量线、40日均量线、135日均量线要求:5日均量线上穿135均量线,在上穿40均量线。
22. 5日均线上穿10日均线买入提示公式主图指标怎么写?
5日均线上穿10日均线买入提示公式主图指标:MA1:=MA(C,5); MA2:=MA(C,10); XG:CROSS(MA1,MA2); 5日线上穿10日线配合5日量线上穿10日量线和MACD金叉就可以跟进。
求高手写AMO均量线选股公式[通达信公式]具体条件如下:成交金额均量线参数为:5日均量线、40日均量线、135日均量线要求:5日均量线上穿135均量线,在上穿40均量线。
23. 涨停板主图指标公式?
涨停:=BETWEEN(CLOSE/REF(CLOSE,1),1.0984,1.110)AND C=H AND C>O;
{蓝心板}
R1:=(C>REF(C,1) ANDC>REF(C,2));R2:=(REF(R1,1) AND C<=REF(C,1) ANDC>=REF(C,2));R3:=(REF(R2,1) AND C>=REF(C,1) AND C<=REF(C,2));
R4:=(REF(R3,1) AND C<=REF(C,1) ANDC>=REF(C,2));R5:=(REF(R4,1) AND C>=REF(C,1) ANDC<=REF(C,2));R6:=(REF(R5,1) AND C<=REF(C,1) AND C>=REF(C,2));
R7:=(REF(R6,1) AND C>=REF(C,1) ANDC<=REF(C,2));R8:=(REF(R7,1) AND C<=REF(C,1) ANDC>=REF(C,2));R9:=(REF(R8,1) AND C>=REF(C,1) AND C<=REF(C,2));
RA:=(REF(R9,1) AND C<=REF(C,1) ANDC>=REF(C,2));RB:=(REF(RA,1) AND C>=REF(C,1) ANDC<=REF(C,2));RC:=(REF(RB,1) AND C<=REF(C,1) AND C>=REF(C,2));
RD:=(C<REF(C,1) ANDC<REF(C,2));RE:=(REF(RD,1) AND C>=REF(C,1) ANDC<=REF(C,2));RF:=(REF(RE,1) AND C<=REF(C,1) AND C>=REF(C,2));
R10:=(REF(RF,1) AND C>=REF(C,1) ANDC<=REF(C,2));R11:=(REF(R10,1) AND C<=REF(C,1) ANDC>=REF(C,2));R12:=(REF(R11,1) AND C>=REF(C,1) AND C<=REF(C,2));
R13:=(REF(R12,1) AND C<=REF(C,1) ANDC>=REF(C,2));R14:=(REF(R13,1) AND C>=REF(C,1) AND C<=REF(C,2));R15:=(REF(R14,1)AND C<=REF(C,1) AND C>=REF(C,2));
R16:=(REF(R15,1) AND C>=REF(C,1) ANDC<=REF(C,2));R17:=(REF(R16,1) AND C<=REF(C,1) AND C>=REF(C,2));
R18:=(REF(R17,1) AND C>=REF(C,1) ANDC<=REF(C,2));R19:=((REF(RD OR RE OR RF OR R10 OR R11 OR R12 OR R13
OR R14 OR R15 OR R16 OR R17 OR R18,1)) ANDR1);
R1A:=((REF(R1 OR R2 OR R3 OR R4 OR R5 OR R6OR R7 OR R8 OR R9 OR RA OR RB OR RC,1)) AND RD);
蓝心板:=REF(RD ORRE OR RF OR R10 OR R11 OR R12 OR R13 OR R14 OR R15 OR R16 OR R17 OR R18,1);
{绿心板}
RSV9:=(C-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;K1:=SMA(RSV9,3,1);
DK1:=K1-REF(K1,1);出手就赢:=IF(DK1>7 ANDREF(DK1,1)<0 AND (DK1-REF(DK1,1))>9,50,0);
绿心板:=(出手就赢=50 ORREF("KDJ.J",1)<0) AND "KDJ.J">0;
红心板:=蓝心板 AND 绿心板;
红色持股:=R1 OR R2OR R3 OR R4 OR R5 OR R6 OR R7 OR R8 OR R9 OR RA OR RB OR RC;
短进:=R19;
青色观望:=RD OR REOR RF OR R10 OR R11 OR R12 OR R13 OR R14 OR R15 OR R16 OR R17 OR R18;
急速超跌:=(C-MA(C,34))/MA(C,34)*100<-14;品红离场:=R1A;
STICKLINE(C>=O,L,H,0,0),COLOR0000CC;STICKLINE(C<O,L,H,0,0),COLOR999900;STICKLINE(1,C,O,3.5,0),COLOR858500;
STICKLINE(C>=O,C,O,3.5,0),COLOR0000E5;STICKLINE(红色持股,C,O,2.8,0),COLOR000055;STICKLINE(红色持股,C,O,2,0),COLOR000088;
STICKLINE(红色持股,C,O,1.5,0),COLOR0000AA;STICKLINE(红色持股,C,O,1,0),COLOR0000CC;STICKLINE(红色持股,C,O,0.5,0),COLOR0000EE;
STICKLINE(青色观望,C,O,2.8,0),COLOR555500;STICKLINE(青色观望,C,O,2,0),COLOR888800;STICKLINE(青色观望,C,O,1.5,0),COLORAAAA00;
STICKLINE(青色观望,C,O,1,0),COLORCCCC00;STICKLINE(青色观望,C,O,0.5,0),COLOREEEE00;CO:=(C-O);
绿心过滤:=IF((蓝心板),DRAWNULL,绿心板);蓝心过滤:=IF((绿心板),DRAWNULL,蓝心板);
STICKLINE(急速超跌,O,C-CO/2,2.8,0),COLOR555555;STICKLINE(急速超跌,O,C-CO/2,2,0),COLOR888888;STICKLINE(急速超跌,O,C-CO/2,1.5,0),COLORAAAAAA;
STICKLINE(急速超跌,O,C-CO/2,1,0),COLORCCCCCC;STICKLINE(急速超跌,O,C-CO/2,0.5,0),COLOREEEEEE;STICKLINE(短进,O,O+CO/3,2.8,0),COLOR335555;
STICKLINE(短进,O,O+CO/3,2,0),COLOR338888;STICKLINE(短进,O,O+CO/3,1.5,0),COLOR33AAAA;STICKLINE(短进,O,O+CO/3,1,0),COLOR33CCCC;
STICKLINE(品红离场,O,O+CO/3,2.8,0),COLOR550055;STICKLINE(品红离场,O,O+CO/3,2,0),COLOR880088;STICKLINE(品红离场,O,O+CO/3,1.5,0),COLORAA00AA;
STICKLINE(品红离场,O,O+CO/3,1,0),COLORCC00CC;STICKLINE(品红离场,O,O+CO/3,0.5,0),COLOREE00EE;STICKLINE(涨停,O,C,3.6,1),COLORYELLOW;
STICKLINE(涨停 AND 蓝心过滤,O,C,0.4,0),COLORBLUE;STICKLINE(涨停 AND 绿心过滤,O,C,0.4,0),COLORGREEN;STICKLINE(涨停 AND 红心板,O,C,0.4,0),COLORRED;
{均线}
EXPMA5:EXPMA(C,5),COLORWHITE LINETHICK2;
EXPMA13:EXPMA(C,13),COLORMAGENTALINETHICK2;
{近期高位}
AB1:=REF(C,10)=HHV(C,2*10+1);BB1:=FILTER(AB1,10); CB1:=BACKSET(BB1,10+1); HBD:=FILTER(CB1,10);
近期压力:REF(C,BARSLAST(HBD))NODRAW,COLORYELLOW;
STICKLINE(C,近期压力,近期压力,10,0),COLORYELLOW;DRAWTEXT(ISLASTBAR,近期压力,' 近期压力');
{长期高位}
AS1:=REF(C,60)=HHV(C,2*60+1);AS2:=FILTER(AS1,60); AS3:=BACKSET(AS2,60+1); AS4:=FILTER(AS3,60);
长期压力:REF(C,BARSLAST(AS4))NODRAW COLORRED;
STICKLINE(C,长期压力,长期压力,10,0),COLORRED;DRAWTEXT(ISLASTBAR,长期压力,' 长期压力');
{箱体}
跌幅:=(C-REF(C,1))/REF(C,1)*100<-4.94;
箱顶:DRAWLINE(跌幅,O,REF(跌幅,1),REF(O,1),1),COLORMAGENTALINETHICK2;
DRAWTEXT(ISLASTBAR,箱顶,' 箱顶');
{概念}
Z11:=STRCAT(HYBLOCK,' ');
Z21:=STRCAT(Z11,DYBLOCK);
Z31:=STRCAT(Z21,' ');
DRAWTEXT_FIX(ISLASTBAR,0,0,0,STRCAT(Z31,GNBLOCK)),COLORYELLOW;
DRAWTEXT_FIX(ISLASTBAR,0,0.08,0,STRCAT(Z31,FGBLOCK)),COLORYELLOW;
{}
DRAWTEXT((涨停) AND FINANCE(52),C,' 融资'),COLORGREEN;
24. 涨停板主图指标公式?
涨停:=BETWEEN(CLOSE/REF(CLOSE,1),1.0984,1.110)AND C=H AND C>O;
{蓝心板}
R1:=(C>REF(C,1) ANDC>REF(C,2));R2:=(REF(R1,1) AND C<=REF(C,1) ANDC>=REF(C,2));R3:=(REF(R2,1) AND C>=REF(C,1) AND C<=REF(C,2));
R4:=(REF(R3,1) AND C<=REF(C,1) ANDC>=REF(C,2));R5:=(REF(R4,1) AND C>=REF(C,1) ANDC<=REF(C,2));R6:=(REF(R5,1) AND C<=REF(C,1) AND C>=REF(C,2));
R7:=(REF(R6,1) AND C>=REF(C,1) ANDC<=REF(C,2));R8:=(REF(R7,1) AND C<=REF(C,1) ANDC>=REF(C,2));R9:=(REF(R8,1) AND C>=REF(C,1) AND C<=REF(C,2));
RA:=(REF(R9,1) AND C<=REF(C,1) ANDC>=REF(C,2));RB:=(REF(RA,1) AND C>=REF(C,1) ANDC<=REF(C,2));RC:=(REF(RB,1) AND C<=REF(C,1) AND C>=REF(C,2));
RD:=(C<REF(C,1) ANDC<REF(C,2));RE:=(REF(RD,1) AND C>=REF(C,1) ANDC<=REF(C,2));RF:=(REF(RE,1) AND C<=REF(C,1) AND C>=REF(C,2));
R10:=(REF(RF,1) AND C>=REF(C,1) ANDC<=REF(C,2));R11:=(REF(R10,1) AND C<=REF(C,1) ANDC>=REF(C,2));R12:=(REF(R11,1) AND C>=REF(C,1) AND C<=REF(C,2));
R13:=(REF(R12,1) AND C<=REF(C,1) ANDC>=REF(C,2));R14:=(REF(R13,1) AND C>=REF(C,1) AND C<=REF(C,2));R15:=(REF(R14,1)AND C<=REF(C,1) AND C>=REF(C,2));
R16:=(REF(R15,1) AND C>=REF(C,1) ANDC<=REF(C,2));R17:=(REF(R16,1) AND C<=REF(C,1) AND C>=REF(C,2));
R18:=(REF(R17,1) AND C>=REF(C,1) ANDC<=REF(C,2));R19:=((REF(RD OR RE OR RF OR R10 OR R11 OR R12 OR R13
OR R14 OR R15 OR R16 OR R17 OR R18,1)) ANDR1);
R1A:=((REF(R1 OR R2 OR R3 OR R4 OR R5 OR R6OR R7 OR R8 OR R9 OR RA OR RB OR RC,1)) AND RD);
蓝心板:=REF(RD ORRE OR RF OR R10 OR R11 OR R12 OR R13 OR R14 OR R15 OR R16 OR R17 OR R18,1);
{绿心板}
RSV9:=(C-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;K1:=SMA(RSV9,3,1);
DK1:=K1-REF(K1,1);出手就赢:=IF(DK1>7 ANDREF(DK1,1)<0 AND (DK1-REF(DK1,1))>9,50,0);
绿心板:=(出手就赢=50 ORREF("KDJ.J",1)<0) AND "KDJ.J">0;
红心板:=蓝心板 AND 绿心板;
红色持股:=R1 OR R2OR R3 OR R4 OR R5 OR R6 OR R7 OR R8 OR R9 OR RA OR RB OR RC;
短进:=R19;
青色观望:=RD OR REOR RF OR R10 OR R11 OR R12 OR R13 OR R14 OR R15 OR R16 OR R17 OR R18;
急速超跌:=(C-MA(C,34))/MA(C,34)*100<-14;品红离场:=R1A;
STICKLINE(C>=O,L,H,0,0),COLOR0000CC;STICKLINE(C<O,L,H,0,0),COLOR999900;STICKLINE(1,C,O,3.5,0),COLOR858500;
STICKLINE(C>=O,C,O,3.5,0),COLOR0000E5;STICKLINE(红色持股,C,O,2.8,0),COLOR000055;STICKLINE(红色持股,C,O,2,0),COLOR000088;
STICKLINE(红色持股,C,O,1.5,0),COLOR0000AA;STICKLINE(红色持股,C,O,1,0),COLOR0000CC;STICKLINE(红色持股,C,O,0.5,0),COLOR0000EE;
STICKLINE(青色观望,C,O,2.8,0),COLOR555500;STICKLINE(青色观望,C,O,2,0),COLOR888800;STICKLINE(青色观望,C,O,1.5,0),COLORAAAA00;
STICKLINE(青色观望,C,O,1,0),COLORCCCC00;STICKLINE(青色观望,C,O,0.5,0),COLOREEEE00;CO:=(C-O);
绿心过滤:=IF((蓝心板),DRAWNULL,绿心板);蓝心过滤:=IF((绿心板),DRAWNULL,蓝心板);
STICKLINE(急速超跌,O,C-CO/2,2.8,0),COLOR555555;STICKLINE(急速超跌,O,C-CO/2,2,0),COLOR888888;STICKLINE(急速超跌,O,C-CO/2,1.5,0),COLORAAAAAA;
STICKLINE(急速超跌,O,C-CO/2,1,0),COLORCCCCCC;STICKLINE(急速超跌,O,C-CO/2,0.5,0),COLOREEEEEE;STICKLINE(短进,O,O+CO/3,2.8,0),COLOR335555;
STICKLINE(短进,O,O+CO/3,2,0),COLOR338888;STICKLINE(短进,O,O+CO/3,1.5,0),COLOR33AAAA;STICKLINE(短进,O,O+CO/3,1,0),COLOR33CCCC;
STICKLINE(品红离场,O,O+CO/3,2.8,0),COLOR550055;STICKLINE(品红离场,O,O+CO/3,2,0),COLOR880088;STICKLINE(品红离场,O,O+CO/3,1.5,0),COLORAA00AA;
STICKLINE(品红离场,O,O+CO/3,1,0),COLORCC00CC;STICKLINE(品红离场,O,O+CO/3,0.5,0),COLOREE00EE;STICKLINE(涨停,O,C,3.6,1),COLORYELLOW;
STICKLINE(涨停 AND 蓝心过滤,O,C,0.4,0),COLORBLUE;STICKLINE(涨停 AND 绿心过滤,O,C,0.4,0),COLORGREEN;STICKLINE(涨停 AND 红心板,O,C,0.4,0),COLORRED;
{均线}
EXPMA5:EXPMA(C,5),COLORWHITE LINETHICK2;
EXPMA13:EXPMA(C,13),COLORMAGENTALINETHICK2;
{近期高位}
AB1:=REF(C,10)=HHV(C,2*10+1);BB1:=FILTER(AB1,10); CB1:=BACKSET(BB1,10+1); HBD:=FILTER(CB1,10);
近期压力:REF(C,BARSLAST(HBD))NODRAW,COLORYELLOW;
STICKLINE(C,近期压力,近期压力,10,0),COLORYELLOW;DRAWTEXT(ISLASTBAR,近期压力,' 近期压力');
{长期高位}
AS1:=REF(C,60)=HHV(C,2*60+1);AS2:=FILTER(AS1,60); AS3:=BACKSET(AS2,60+1); AS4:=FILTER(AS3,60);
长期压力:REF(C,BARSLAST(AS4))NODRAW COLORRED;
STICKLINE(C,长期压力,长期压力,10,0),COLORRED;DRAWTEXT(ISLASTBAR,长期压力,' 长期压力');
{箱体}
跌幅:=(C-REF(C,1))/REF(C,1)*100<-4.94;
箱顶:DRAWLINE(跌幅,O,REF(跌幅,1),REF(O,1),1),COLORMAGENTALINETHICK2;
DRAWTEXT(ISLASTBAR,箱顶,' 箱顶');
{概念}
Z11:=STRCAT(HYBLOCK,' ');
Z21:=STRCAT(Z11,DYBLOCK);
Z31:=STRCAT(Z21,' ');
DRAWTEXT_FIX(ISLASTBAR,0,0,0,STRCAT(Z31,GNBLOCK)),COLORYELLOW;
DRAWTEXT_FIX(ISLASTBAR,0,0.08,0,STRCAT(Z31,FGBLOCK)),COLORYELLOW;
{}
DRAWTEXT((涨停) AND FINANCE(52),C,' 融资'),COLORGREEN;
25. 分时线均线公式?
分时均价线计算公式
1分钟均线:在查看—系统设置—设置4—锁定初始K线数是240。
2分钟均线:在查看—系统设置—设置4—锁定初始K线数是120。
设置2分钟:在查看—系统设置1—把多分钟线分钟数10改为2。
(一)
A:=CURRBARSCOUNT;
DAY!=REF(DAY,1);
A2:=BARSLAST+1;
A3:=MA(C,A2);
A4:=SUM(AMO,A2)/SUM(VOL,A2)/100;
A5:=IF(CAPITAL>0,A4,A3);
现价:IF(A<=CONST(A2),CLOSE,DRAWNULL);
均价:IF(A<=CONST(A2),A5,DRAWNULL);
前收盘:IF(A<=CONST(A2),DYNAINFO(3),DRAWNULL),COLORRED,LINETHICK2;
(二)
STICKLINE(C>0,L,H,3,0),COLORBLACK;
A:=CURRBARSCOUNT;
=DAY!=REF(DAY,1);
A2:=BARSLAST+1;
A3:=MA(C,A2);
A4:=SUM(AMO,A2)/SUM(VOL,A2)/100;
A5:=IF(CAPITAL>0,A4,A3);
现价:IF(A<=CONST(A2),CLOSE,DRAWNULL)COLORWHITE;
均价:IF(A<=CONST(A2),A5,DRAWNULL);
前收盘:IF(A<=CONST(A2),DYNAINFO(3),DRAWNULL),COLORRED,LINETHICK2;
RC:=DYNAINFO( 3);
S2:=SMA(C,2,1);
S6:=SMA(C,6,1);
DK:=2*(S2-S6);
STICKLINE(DK>0,RC,RC+DK,0,1),COLORRED;
STICKLINE(DK<0,RC,RC+DK,0,1),COLORCYAN;
(三)
A:=CURRBARSCOUN:=DAY!=REF(DAY,1);
A2:=BARSLAST+1;
A3:=MA(C,A2);
A4:=SUM(AMO,A2)/SUM(VOL,A2)/100;
A5:=IF(CAPITAL>0,A4,A3);
现价:IF(A<=CONST(A2),CLOSE,DRAWNULL)COLORWHITE;
均价:IF(A<=CONST(A2),A5,DRAWNULL);
前收盘:IF(A<=CONST(A2),DYNAINFO(3),DRAWNULL),COLORRED,LINETHICK2;
RC:=DYNAINFO( 3);
S2:=SMA(C,2,1);
S6:=SMA(C,6,1);
DK:=2*(S2-S6
26. 涨停板主图指标公式?
涨停:=BETWEEN(CLOSE/REF(CLOSE,1),1.0984,1.110)AND C=H AND C>O;
{蓝心板}
R1:=(C>REF(C,1) ANDC>REF(C,2));R2:=(REF(R1,1) AND C<=REF(C,1) ANDC>=REF(C,2));R3:=(REF(R2,1) AND C>=REF(C,1) AND C<=REF(C,2));
R4:=(REF(R3,1) AND C<=REF(C,1) ANDC>=REF(C,2));R5:=(REF(R4,1) AND C>=REF(C,1) ANDC<=REF(C,2));R6:=(REF(R5,1) AND C<=REF(C,1) AND C>=REF(C,2));
R7:=(REF(R6,1) AND C>=REF(C,1) ANDC<=REF(C,2));R8:=(REF(R7,1) AND C<=REF(C,1) ANDC>=REF(C,2));R9:=(REF(R8,1) AND C>=REF(C,1) AND C<=REF(C,2));
RA:=(REF(R9,1) AND C<=REF(C,1) ANDC>=REF(C,2));RB:=(REF(RA,1) AND C>=REF(C,1) ANDC<=REF(C,2));RC:=(REF(RB,1) AND C<=REF(C,1) AND C>=REF(C,2));
RD:=(C<REF(C,1) ANDC<REF(C,2));RE:=(REF(RD,1) AND C>=REF(C,1) ANDC<=REF(C,2));RF:=(REF(RE,1) AND C<=REF(C,1) AND C>=REF(C,2));
R10:=(REF(RF,1) AND C>=REF(C,1) ANDC<=REF(C,2));R11:=(REF(R10,1) AND C<=REF(C,1) ANDC>=REF(C,2));R12:=(REF(R11,1) AND C>=REF(C,1) AND C<=REF(C,2));
R13:=(REF(R12,1) AND C<=REF(C,1) ANDC>=REF(C,2));R14:=(REF(R13,1) AND C>=REF(C,1) AND C<=REF(C,2));R15:=(REF(R14,1)AND C<=REF(C,1) AND C>=REF(C,2));
R16:=(REF(R15,1) AND C>=REF(C,1) ANDC<=REF(C,2));R17:=(REF(R16,1) AND C<=REF(C,1) AND C>=REF(C,2));
R18:=(REF(R17,1) AND C>=REF(C,1) ANDC<=REF(C,2));R19:=((REF(RD OR RE OR RF OR R10 OR R11 OR R12 OR R13
OR R14 OR R15 OR R16 OR R17 OR R18,1)) ANDR1);
R1A:=((REF(R1 OR R2 OR R3 OR R4 OR R5 OR R6OR R7 OR R8 OR R9 OR RA OR RB OR RC,1)) AND RD);
蓝心板:=REF(RD ORRE OR RF OR R10 OR R11 OR R12 OR R13 OR R14 OR R15 OR R16 OR R17 OR R18,1);
{绿心板}
RSV9:=(C-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;K1:=SMA(RSV9,3,1);
DK1:=K1-REF(K1,1);出手就赢:=IF(DK1>7 ANDREF(DK1,1)<0 AND (DK1-REF(DK1,1))>9,50,0);
绿心板:=(出手就赢=50 ORREF("KDJ.J",1)<0) AND "KDJ.J">0;
红心板:=蓝心板 AND 绿心板;
红色持股:=R1 OR R2OR R3 OR R4 OR R5 OR R6 OR R7 OR R8 OR R9 OR RA OR RB OR RC;
短进:=R19;
青色观望:=RD OR REOR RF OR R10 OR R11 OR R12 OR R13 OR R14 OR R15 OR R16 OR R17 OR R18;
急速超跌:=(C-MA(C,34))/MA(C,34)*100<-14;品红离场:=R1A;
STICKLINE(C>=O,L,H,0,0),COLOR0000CC;STICKLINE(C<O,L,H,0,0),COLOR999900;STICKLINE(1,C,O,3.5,0),COLOR858500;
STICKLINE(C>=O,C,O,3.5,0),COLOR0000E5;STICKLINE(红色持股,C,O,2.8,0),COLOR000055;STICKLINE(红色持股,C,O,2,0),COLOR000088;
STICKLINE(红色持股,C,O,1.5,0),COLOR0000AA;STICKLINE(红色持股,C,O,1,0),COLOR0000CC;STICKLINE(红色持股,C,O,0.5,0),COLOR0000EE;
STICKLINE(青色观望,C,O,2.8,0),COLOR555500;STICKLINE(青色观望,C,O,2,0),COLOR888800;STICKLINE(青色观望,C,O,1.5,0),COLORAAAA00;
STICKLINE(青色观望,C,O,1,0),COLORCCCC00;STICKLINE(青色观望,C,O,0.5,0),COLOREEEE00;CO:=(C-O);
绿心过滤:=IF((蓝心板),DRAWNULL,绿心板);蓝心过滤:=IF((绿心板),DRAWNULL,蓝心板);
STICKLINE(急速超跌,O,C-CO/2,2.8,0),COLOR555555;STICKLINE(急速超跌,O,C-CO/2,2,0),COLOR888888;STICKLINE(急速超跌,O,C-CO/2,1.5,0),COLORAAAAAA;
STICKLINE(急速超跌,O,C-CO/2,1,0),COLORCCCCCC;STICKLINE(急速超跌,O,C-CO/2,0.5,0),COLOREEEEEE;STICKLINE(短进,O,O+CO/3,2.8,0),COLOR335555;
STICKLINE(短进,O,O+CO/3,2,0),COLOR338888;STICKLINE(短进,O,O+CO/3,1.5,0),COLOR33AAAA;STICKLINE(短进,O,O+CO/3,1,0),COLOR33CCCC;
STICKLINE(品红离场,O,O+CO/3,2.8,0),COLOR550055;STICKLINE(品红离场,O,O+CO/3,2,0),COLOR880088;STICKLINE(品红离场,O,O+CO/3,1.5,0),COLORAA00AA;
STICKLINE(品红离场,O,O+CO/3,1,0),COLORCC00CC;STICKLINE(品红离场,O,O+CO/3,0.5,0),COLOREE00EE;STICKLINE(涨停,O,C,3.6,1),COLORYELLOW;
STICKLINE(涨停 AND 蓝心过滤,O,C,0.4,0),COLORBLUE;STICKLINE(涨停 AND 绿心过滤,O,C,0.4,0),COLORGREEN;STICKLINE(涨停 AND 红心板,O,C,0.4,0),COLORRED;
{均线}
EXPMA5:EXPMA(C,5),COLORWHITE LINETHICK2;
EXPMA13:EXPMA(C,13),COLORMAGENTALINETHICK2;
{近期高位}
AB1:=REF(C,10)=HHV(C,2*10+1);BB1:=FILTER(AB1,10); CB1:=BACKSET(BB1,10+1); HBD:=FILTER(CB1,10);
近期压力:REF(C,BARSLAST(HBD))NODRAW,COLORYELLOW;
STICKLINE(C,近期压力,近期压力,10,0),COLORYELLOW;DRAWTEXT(ISLASTBAR,近期压力,' 近期压力');
{长期高位}
AS1:=REF(C,60)=HHV(C,2*60+1);AS2:=FILTER(AS1,60); AS3:=BACKSET(AS2,60+1); AS4:=FILTER(AS3,60);
长期压力:REF(C,BARSLAST(AS4))NODRAW COLORRED;
STICKLINE(C,长期压力,长期压力,10,0),COLORRED;DRAWTEXT(ISLASTBAR,长期压力,' 长期压力');
{箱体}
跌幅:=(C-REF(C,1))/REF(C,1)*100<-4.94;
箱顶:DRAWLINE(跌幅,O,REF(跌幅,1),REF(O,1),1),COLORMAGENTALINETHICK2;
DRAWTEXT(ISLASTBAR,箱顶,' 箱顶');
{概念}
Z11:=STRCAT(HYBLOCK,' ');
Z21:=STRCAT(Z11,DYBLOCK);
Z31:=STRCAT(Z21,' ');
DRAWTEXT_FIX(ISLASTBAR,0,0,0,STRCAT(Z31,GNBLOCK)),COLORYELLOW;
DRAWTEXT_FIX(ISLASTBAR,0,0.08,0,STRCAT(Z31,FGBLOCK)),COLORYELLOW;
{}
DRAWTEXT((涨停) AND FINANCE(52),C,' 融资'),COLORGREEN;
27. 分时线均线公式?
分时均价线计算公式
1分钟均线:在查看—系统设置—设置4—锁定初始K线数是240。
2分钟均线:在查看—系统设置—设置4—锁定初始K线数是120。
设置2分钟:在查看—系统设置1—把多分钟线分钟数10改为2。
(一)
A:=CURRBARSCOUNT;
DAY!=REF(DAY,1);
A2:=BARSLAST+1;
A3:=MA(C,A2);
A4:=SUM(AMO,A2)/SUM(VOL,A2)/100;
A5:=IF(CAPITAL>0,A4,A3);
现价:IF(A<=CONST(A2),CLOSE,DRAWNULL);
均价:IF(A<=CONST(A2),A5,DRAWNULL);
前收盘:IF(A<=CONST(A2),DYNAINFO(3),DRAWNULL),COLORRED,LINETHICK2;
(二)
STICKLINE(C>0,L,H,3,0),COLORBLACK;
A:=CURRBARSCOUNT;
=DAY!=REF(DAY,1);
A2:=BARSLAST+1;
A3:=MA(C,A2);
A4:=SUM(AMO,A2)/SUM(VOL,A2)/100;
A5:=IF(CAPITAL>0,A4,A3);
现价:IF(A<=CONST(A2),CLOSE,DRAWNULL)COLORWHITE;
均价:IF(A<=CONST(A2),A5,DRAWNULL);
前收盘:IF(A<=CONST(A2),DYNAINFO(3),DRAWNULL),COLORRED,LINETHICK2;
RC:=DYNAINFO( 3);
S2:=SMA(C,2,1);
S6:=SMA(C,6,1);
DK:=2*(S2-S6);
STICKLINE(DK>0,RC,RC+DK,0,1),COLORRED;
STICKLINE(DK<0,RC,RC+DK,0,1),COLORCYAN;
(三)
A:=CURRBARSCOUN:=DAY!=REF(DAY,1);
A2:=BARSLAST+1;
A3:=MA(C,A2);
A4:=SUM(AMO,A2)/SUM(VOL,A2)/100;
A5:=IF(CAPITAL>0,A4,A3);
现价:IF(A<=CONST(A2),CLOSE,DRAWNULL)COLORWHITE;
均价:IF(A<=CONST(A2),A5,DRAWNULL);
前收盘:IF(A<=CONST(A2),DYNAINFO(3),DRAWNULL),COLORRED,LINETHICK2;
RC:=DYNAINFO( 3);
S2:=SMA(C,2,1);
S6:=SMA(C,6,1);
DK:=2*(S2-S6
28. 涨停板主图指标公式?
涨停:=BETWEEN(CLOSE/REF(CLOSE,1),1.0984,1.110)AND C=H AND C>O;
{蓝心板}
R1:=(C>REF(C,1) ANDC>REF(C,2));R2:=(REF(R1,1) AND C<=REF(C,1) ANDC>=REF(C,2));R3:=(REF(R2,1) AND C>=REF(C,1) AND C<=REF(C,2));
R4:=(REF(R3,1) AND C<=REF(C,1) ANDC>=REF(C,2));R5:=(REF(R4,1) AND C>=REF(C,1) ANDC<=REF(C,2));R6:=(REF(R5,1) AND C<=REF(C,1) AND C>=REF(C,2));
R7:=(REF(R6,1) AND C>=REF(C,1) ANDC<=REF(C,2));R8:=(REF(R7,1) AND C<=REF(C,1) ANDC>=REF(C,2));R9:=(REF(R8,1) AND C>=REF(C,1) AND C<=REF(C,2));
RA:=(REF(R9,1) AND C<=REF(C,1) ANDC>=REF(C,2));RB:=(REF(RA,1) AND C>=REF(C,1) ANDC<=REF(C,2));RC:=(REF(RB,1) AND C<=REF(C,1) AND C>=REF(C,2));
RD:=(C<REF(C,1) ANDC<REF(C,2));RE:=(REF(RD,1) AND C>=REF(C,1) ANDC<=REF(C,2));RF:=(REF(RE,1) AND C<=REF(C,1) AND C>=REF(C,2));
R10:=(REF(RF,1) AND C>=REF(C,1) ANDC<=REF(C,2));R11:=(REF(R10,1) AND C<=REF(C,1) ANDC>=REF(C,2));R12:=(REF(R11,1) AND C>=REF(C,1) AND C<=REF(C,2));
R13:=(REF(R12,1) AND C<=REF(C,1) ANDC>=REF(C,2));R14:=(REF(R13,1) AND C>=REF(C,1) AND C<=REF(C,2));R15:=(REF(R14,1)AND C<=REF(C,1) AND C>=REF(C,2));
R16:=(REF(R15,1) AND C>=REF(C,1) ANDC<=REF(C,2));R17:=(REF(R16,1) AND C<=REF(C,1) AND C>=REF(C,2));
R18:=(REF(R17,1) AND C>=REF(C,1) ANDC<=REF(C,2));R19:=((REF(RD OR RE OR RF OR R10 OR R11 OR R12 OR R13
OR R14 OR R15 OR R16 OR R17 OR R18,1)) ANDR1);
R1A:=((REF(R1 OR R2 OR R3 OR R4 OR R5 OR R6OR R7 OR R8 OR R9 OR RA OR RB OR RC,1)) AND RD);
蓝心板:=REF(RD ORRE OR RF OR R10 OR R11 OR R12 OR R13 OR R14 OR R15 OR R16 OR R17 OR R18,1);
{绿心板}
RSV9:=(C-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;K1:=SMA(RSV9,3,1);
DK1:=K1-REF(K1,1);出手就赢:=IF(DK1>7 ANDREF(DK1,1)<0 AND (DK1-REF(DK1,1))>9,50,0);
绿心板:=(出手就赢=50 ORREF("KDJ.J",1)<0) AND "KDJ.J">0;
红心板:=蓝心板 AND 绿心板;
红色持股:=R1 OR R2OR R3 OR R4 OR R5 OR R6 OR R7 OR R8 OR R9 OR RA OR RB OR RC;
短进:=R19;
青色观望:=RD OR REOR RF OR R10 OR R11 OR R12 OR R13 OR R14 OR R15 OR R16 OR R17 OR R18;
急速超跌:=(C-MA(C,34))/MA(C,34)*100<-14;品红离场:=R1A;
STICKLINE(C>=O,L,H,0,0),COLOR0000CC;STICKLINE(C<O,L,H,0,0),COLOR999900;STICKLINE(1,C,O,3.5,0),COLOR858500;
STICKLINE(C>=O,C,O,3.5,0),COLOR0000E5;STICKLINE(红色持股,C,O,2.8,0),COLOR000055;STICKLINE(红色持股,C,O,2,0),COLOR000088;
STICKLINE(红色持股,C,O,1.5,0),COLOR0000AA;STICKLINE(红色持股,C,O,1,0),COLOR0000CC;STICKLINE(红色持股,C,O,0.5,0),COLOR0000EE;
STICKLINE(青色观望,C,O,2.8,0),COLOR555500;STICKLINE(青色观望,C,O,2,0),COLOR888800;STICKLINE(青色观望,C,O,1.5,0),COLORAAAA00;
STICKLINE(青色观望,C,O,1,0),COLORCCCC00;STICKLINE(青色观望,C,O,0.5,0),COLOREEEE00;CO:=(C-O);
绿心过滤:=IF((蓝心板),DRAWNULL,绿心板);蓝心过滤:=IF((绿心板),DRAWNULL,蓝心板);
STICKLINE(急速超跌,O,C-CO/2,2.8,0),COLOR555555;STICKLINE(急速超跌,O,C-CO/2,2,0),COLOR888888;STICKLINE(急速超跌,O,C-CO/2,1.5,0),COLORAAAAAA;
STICKLINE(急速超跌,O,C-CO/2,1,0),COLORCCCCCC;STICKLINE(急速超跌,O,C-CO/2,0.5,0),COLOREEEEEE;STICKLINE(短进,O,O+CO/3,2.8,0),COLOR335555;
STICKLINE(短进,O,O+CO/3,2,0),COLOR338888;STICKLINE(短进,O,O+CO/3,1.5,0),COLOR33AAAA;STICKLINE(短进,O,O+CO/3,1,0),COLOR33CCCC;
STICKLINE(品红离场,O,O+CO/3,2.8,0),COLOR550055;STICKLINE(品红离场,O,O+CO/3,2,0),COLOR880088;STICKLINE(品红离场,O,O+CO/3,1.5,0),COLORAA00AA;
STICKLINE(品红离场,O,O+CO/3,1,0),COLORCC00CC;STICKLINE(品红离场,O,O+CO/3,0.5,0),COLOREE00EE;STICKLINE(涨停,O,C,3.6,1),COLORYELLOW;
STICKLINE(涨停 AND 蓝心过滤,O,C,0.4,0),COLORBLUE;STICKLINE(涨停 AND 绿心过滤,O,C,0.4,0),COLORGREEN;STICKLINE(涨停 AND 红心板,O,C,0.4,0),COLORRED;
{均线}
EXPMA5:EXPMA(C,5),COLORWHITE LINETHICK2;
EXPMA13:EXPMA(C,13),COLORMAGENTALINETHICK2;
{近期高位}
AB1:=REF(C,10)=HHV(C,2*10+1);BB1:=FILTER(AB1,10); CB1:=BACKSET(BB1,10+1); HBD:=FILTER(CB1,10);
近期压力:REF(C,BARSLAST(HBD))NODRAW,COLORYELLOW;
STICKLINE(C,近期压力,近期压力,10,0),COLORYELLOW;DRAWTEXT(ISLASTBAR,近期压力,' 近期压力');
{长期高位}
AS1:=REF(C,60)=HHV(C,2*60+1);AS2:=FILTER(AS1,60); AS3:=BACKSET(AS2,60+1); AS4:=FILTER(AS3,60);
长期压力:REF(C,BARSLAST(AS4))NODRAW COLORRED;
STICKLINE(C,长期压力,长期压力,10,0),COLORRED;DRAWTEXT(ISLASTBAR,长期压力,' 长期压力');
{箱体}
跌幅:=(C-REF(C,1))/REF(C,1)*100<-4.94;
箱顶:DRAWLINE(跌幅,O,REF(跌幅,1),REF(O,1),1),COLORMAGENTALINETHICK2;
DRAWTEXT(ISLASTBAR,箱顶,' 箱顶');
{概念}
Z11:=STRCAT(HYBLOCK,' ');
Z21:=STRCAT(Z11,DYBLOCK);
Z31:=STRCAT(Z21,' ');
DRAWTEXT_FIX(ISLASTBAR,0,0,0,STRCAT(Z31,GNBLOCK)),COLORYELLOW;
DRAWTEXT_FIX(ISLASTBAR,0,0.08,0,STRCAT(Z31,FGBLOCK)),COLORYELLOW;
{}
DRAWTEXT((涨停) AND FINANCE(52),C,' 融资'),COLORGREEN;