1. 通达信超赞的主图指标公式是怎样的
搜一下:通达信超赞的主图指标公式是怎样的
2. 通达信炒股软件怎么设置八条均线
我看到通达信可以设置16条呢,在指标公式编辑器里新建一个公式,在参数里填入M1,最小2,最大1000,缺省5,如此类推。最后在公式的框里输入
MA1:MA(CLOSE,M1);
MA2:MA(CLOSE,M2);
。。。一直到MA8
3. 「精选指标」通达信公式优化散户综合操盘精华主图指标公式
通达信公式优化散户综合操盘精华主图指标公式
使用说明
这里发的指标公式均是通达信电脑版软件,很多指标公式手机软件有的可能不能用
注意:指标只是参考,决策靠自己。
有需要的可以研究研究,为自己的操作做一个参考。
章鱼哥
VAR1:=AMOUNT/VOL/100;
XL1:=((LLV(LOW,3)=LLV(LOW,60)) AND ((CLOSE/REF(CLOSE,1)) >= 1.04));
XL2:=(((CLOSE - EMA(CLOSE,21))/EMA(CLOSE,21))* 100);
XL3:=CROSS(XL2,(0 - 20));
指导:EMA((EMA(CLOSE,4)+EMA(CLOSE,6)+EMA(CLOSE,
12)+EMA(CLOSE,24))/4,2),LINETHICK2,COLORWHITE;
界:MA(CLOSE,27),LINETHICK2,COLORYELLOW;
DRAWTEXT(FILTER(((XL1 > 0) AND LOW),5),(LOW - 0.4),'●买点');
DRAWTEXT((XL3 > 0),(LOW - 0.2),'●绝对底部');
X6:=REF(CLOSE,1);
X7:=((SMA(MAX((CLOSE-X6),0),7,1)/SMA(ABS((CLOSE-X6)),7,1))* 100);
X8:=CROSS(79,X7);
X9:=FILTER(X8,4);
STICKLINE(CLOSE>OPEN,H,LOW,0,0 ),COLOR9933FF;
STICKLINE(OPEN>=CLOSE,L,HIGH,0,0 ),COLOR66CC33;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,8,0),COLOR009900;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,3,0),COLOR00CC00;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,1.5,0),COLOR33FF00;
DRAWTEXT(X9,(HIGH * 1.02),'●出货'),COLOR9000F5;
STICKLINE(C>1.098*REF(C,1),C,O,0,0),COLORYELLOW;
AAA:=CONST(HHV(H,90));
R1:=MA(CLOSE,1);
R2:=MA(CLOSE,3);
R3:=(MA(R2,1)*1);
R4:=(MA(R2,3)*1);
DRAWTEXT(CROSS(R3,R4),(LOW-0.1),'进'),COLORYELLOW;
LC:=REF(CLOSE,1);
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,1,0),COLOR66FF00;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,8,0),COLOR000099;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,3,0 ),COLOR0000CC;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,1.5,0 ),COLOR0000FF;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,1,0 ),COLOR0033FF;
RSI:=((SMA(MAX((CLOSE-LC),0),3,1)/SMA(ABS((CLOSE-LC)),3,1))* 100);
FF:=EMA(CLOSE,3);
MA15:=EMA(CLOSE,21);
DRAWTEXT(CROSS(88,RSI),(HIGH * 1.02),'出'),COLORGREEN;
AA:=BARSCOUNT(C);
AH:=HHV(H,200);
AL:=LLV(L,200);
A0:=(AH-AL)/40;
B1:=L-A0;
AA8:=CLOSE/REF(CLOSE,1)>=1.09;
STICKLINE((AA+0)/34=FLOOR((AA+0)/34),B1,B1-1.5*A0,2,0),COLORF00FF0;
VAR2S:=(2*CLOSE+HIGH+LOW)/4;
VAR3S:=IF(YEAR>=2099 AND MONTH>2,0,1);
VAR4S:=LLV(LOW,5); VAR5S:=HHV(HIGH,4);
散户:=EMA((VAR2S-VAR4S)/(VAR5S-VAR4S)*100,4)*VAR3S;
庄家:=EMA(0.667*REF(散户,1)+0.333*散户,2)*VAR3S;
STICKLINE(AA8,OPEN,CLOSE,3,0),COLORYELLOW;
STICKLINE(AA8,LOW,HIGH,0.5 ,0 ),COLORYELLOW;
DRAWTEXT(CROSS(散户,庄家) AND 散户<30,L-0.05,'←吸'),COLORRED;
BBB1:=MA(C,1);
B2:=SMA(SMA(SMA(BBB1,2,1),2,1),2,1),COLORRED;
SMA2:=MA(B2,2);
MA1:=MA(CLOSE,8);
MA2:=MA(CLOSE,13);
VARB1:=(100-((90*(HHV(HIGH,21)-CLOSE))/(HHV(HIGH,21)-LLV(LOW,21))));
WWWCHNMONEYCOM:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
VAR3:=(100-MA(((100*(HHV(HIGH,6)-CLOSE))/(HHV(HIGH,6)-LLV(LOW,6))),34));
买:DRAWTEXT(CROSS(VARB1,VAR3) AND B2>SMA2,(LOW * 0.97),'←⊙买'),COLORRED;
温馨提示
4. 通达信 主图显示板块的指标
如果要想在主图上显示板块(或行业)提示字样,请按下面公式样本在你的常用主图公式的后面照样编写即可,因板块行业较多,只举例了几个板块(房地产、有色金属、煤炭行业、金融行业、钢铁行业)。
下面公式是在均价线主图后补充的板块(或行业)提示公式。
{均价线主图公式}
MA1:MA(CLOSE,5);
MA2:MA(CLOSE,10);
MA3:MA(CLOSE,20);
MA4:MA(CLOSE,60);
MA5:MA(CLOSE,120);
{以下板块或行业提示}
A1:=IF(INBLOCK('房地产'),1,0);
A2:=IF(INBLOCK('有色金属'),1,0);
A3:=IF(INBLOCK('煤炭行业'),1,0);
A4:=IF(INBLOCK('金融行业'),1,0);
A5:=IF(INBLOCK('钢铁行业'),1,0);
D:=CURRBARSCOUNT;
KD1:DRAWTEXT(A1=1 AND D=3,H*1.1,'房地产')COLORYELLOW;
KD2:DRAWTEXT(A2=1 AND D=3,H*1.1,'有色金属')COLORYELLOW;
KD3:DRAWTEXT(A3=1 AND D=3,H*1.1,'煤炭行业')COLORYELLOW;
KD4:DRAWTEXT(A4=1 AND D=3,H*1.1,'金融行业')COLORYELLOW;
KD5:DRAWTEXT(A5=1 AND D=3,H*1.1,'钢铁行业')COLORYELLOW;
{可按上面公式格式添加其它的板块或行业}
5. 求通达信K线主图公式
能不能在主图上显示股东人数,前提你先说明用什么软件。
例如通达信效果如下图。
6. 向老师求助,求老师帮助改编通达信的主图指标公式改编为条件选股公式,谢谢!!
爆发点:=(DCLOSE-REF(C,1))/REF(C,1)*100;
XG:CROSS(爆发点,20) OR CROSS(爆发点,18);
7. 通达信超精准买逃主图指标公式怎么用
将指标拷贝到公式里,一条公式代表一条线,看一下备注。
8. 求通达信主图指标公式
X0:=BACKSET(REF(C,3)<MA(C,3) AND REF(V,3)>MA(V,3) AND REF(C/REF(C,1)>1.03 AND C>O,3),4);
X1:=X0 AND REF(X0,1)=0;
STICKLINE(X1,H,C,0,0),COLORFF0080;
STICKLINE(X1,O,C,3,0),COLORFF0080;
STICKLINE(X1,L,O,0,0),COLORFF0080;
X3:=BACKSET(LLV(L,3)>REF(C,3) AND REF(X1,3),4);
STICKLINE(X3,REF(C,BARSLAST(X1)),REF(C,BARSLAST(X1)),5,0),COLORFF0080;
X5:=BACKSET(LLV(L,3)<REF(O,3) AND REF(X1,3),4);
STICKLINE(X5,REF(L,BARSLAST(X1)),REF(L,BARSLAST(X1)),5,0),COLORFF0080;
9. 「指标酷之」通达信筹码主图指标公式
X_1:=120;
X_2:=COST(0.33);
X_3:=COST(5);
X_4:=COST(15);
X_5:=COST(55);
X_6:=COST(97);
X_7:=COST(90);
X_8:=COST(70);
X_9:=COST(30);
X_10:=COST(10);
X_11:=CONST(HHV(X_6,120));
X_12:=CONST(LLV(X_7,120));
X_13:=40;
X_14:=(X_11-X_12)/X_13;
X_15:=1000;
X_16:=ROUND(COUNT(RANGE(CLOSE,X_12+10,X_12+11*X_14),X_1)/X_1*X_15);
X_17:=ROUND(COUNT(RANGE(CLOSE,X_12+11*X_14,X_12+12*X_14),X_1)/X_1*X_15);
X_18:=ROUND(COUNT(RANGE(CLOSE,X_12+12*X_14,X_12+13*X_14),X_1)/X_1*X_15);
X_19:=ROUND(COUNT(RANGE(CLOSE,X_12+13*X_14,X_12+14*X_14),X_1)/X_1*X_15);
X_20:=ROUND(COUNT(RANGE(CLOSE,X_12+14*X_14,X_12+15*X_14),X_1)/X_1*X_15);
X_21:=ROUND(COUNT(RANGE(CLOSE,X_12+15*X_14,X_12+16*X_14),X_1)/X_1*X_15);
X_22:=ROUND(COUNT(RANGE(CLOSE,X_12+16*X_14,X_12+17*X_14),X_1)/X_1*X_15);
X_23:=ROUND(COUNT(RANGE(CLOSE,X_12+17*X_14,X_12+18*X_14),X_1)/X_1*X_15);
X_24:=ROUND(COUNT(RANGE(CLOSE,X_12+18*X_14,X_12+19*X_14),X_1)/X_1*X_15);
X_25:=ROUND(COUNT(RANGE(CLOSE,X_12+19*X_14,X_12+20*X_14),X_1)/X_1*X_15);
X_26:=ROUND(COUNT(RANGE(CLOSE,X_12+20*X_14,X_12+21*X_14),X_1)/X_1*X_15);
X_27:=ROUND(COUNT(RANGE(CLOSE,X_12+21*X_14,X_12+22*X_14),X_1)/X_1*X_15);
X_28:=ROUND(COUNT(RANGE(CLOSE,X_12+22*X_14,X_12+23*X_14),X_1)/X_1*X_15);
X_29:=ROUND(COUNT(RANGE(CLOSE,X_12+23*X_14,X_12+24*X_14),X_1)/X_1*X_15);
X_30:=ROUND(COUNT(RANGE(CLOSE,X_12+24*X_14,X_12+25*X_14),X_1)/X_1*X_15);
X_31:=ROUND(COUNT(RANGE(CLOSE,X_12+25*X_14,X_12+26*X_14),X_1)/X_1*X_15);
X_32:=ROUND(COUNT(RANGE(CLOSE,X_12+26*X_14,X_12+27*X_14),X_1)/X_1*X_15);
X_33:=ROUND(COUNT(RANGE(CLOSE,X_12+27*X_14,X_12+28*X_14),X_1)/X_1*X_15);
X_34:=ROUND(COUNT(RANGE(CLOSE,X_12+28*X_14,X_12+29*X_14),X_1)/X_1*X_15);
X_35:=ROUND(COUNT(RANGE(CLOSE,X_12+29*X_14,X_12+30*X_14),X_1)/X_1*X_15);
X_36:=ROUND(COUNT(RANGE(CLOSE,X_12+30,X_12+31*X_14),X_1)/X_1*X_15);
X_37:=ROUND(COUNT(RANGE(CLOSE,X_12+31*X_14,X_12+32*X_14),X_1)/X_1*X_15);
X_38:=ROUND(COUNT(RANGE(CLOSE,X_12+32*X_14,X_12+33*X_14),X_1)/X_1*X_15);
X_39:=ROUND(COUNT(RANGE(CLOSE,X_12+33*X_14,X_12+34*X_14),X_1)/X_1*X_15);
X_40:=ROUND(COUNT(RANGE(CLOSE,X_12+34*X_14,X_12+35*X_14),X_1)/X_1*X_15);
X_41:=ROUND(COUNT(RANGE(CLOSE,X_12+35*X_14,X_12+36*X_14),X_1)/X_1*X_15);
X_42:=ROUND(COUNT(RANGE(CLOSE,X_12+36*X_14,X_12+37*X_14),X_1)/X_1*X_15);
X_43:=ROUND(COUNT(RANGE(CLOSE,X_12+37*X_14,X_12+38*X_14),X_1)/X_1*X_15);
X_44:=ROUND(COUNT(RANGE(CLOSE,X_12+38*X_14,X_12+39*X_14),X_1)/X_1*X_15);
X_45:=ROUND(COUNT(RANGE(CLOSE,X_12+39*X_14,X_12+40*X_14),X_1)/X_1*X_15);
STICKLINE(CURRBARSCOUNT<=X_16,X_12+10.3*X_14,X_12+10.7*X_14,0.7,0),COLOR0000AA;
STICKLINE(CURRBARSCOUNT<=X_17,X_12+11.3*X_14,X_12+11.7*X_14,0.8,0),COLOR0000AA;
STICKLINE(CURRBARSCOUNT<=X_18,X_12+12.3*X_14,X_12+12.7*X_14,0.9,0),COLOR0000AA;
STICKLINE(CURRBARSCOUNT<=X_19,X_12+13.3*X_14,X_12+13.7*X_14,1,0),COLOR0000AA;
STICKLINE(CURRBARSCOUNT<=X_20,X_12+14.3*X_14,X_12+14.7*X_14,1.2,0),COLOR0000AA;
STICKLINE(CURRBARSCOUNT<=X_21,X_12+15.3*X_14,X_12+15.7*X_14,1.6,0),COLOR0000AA;
STICKLINE(CURRBARSCOUNT<=X_22,X_12+16.299999*X_14,X_12+16.700001*X_14,1.8,0),COLOR0000AA;
STICKLINE(CURRBARSCOUNT<=X_23,X_12+17.299999*X_14,X_12+17.700001*X_14,2,0),COLOR0000AA;
STICKLINE(CURRBARSCOUNT<=X_24,X_12+18.299999*X_14,X_12+18.700001*X_14,2.1,0),COLOR0000AA;
STICKLINE(CURRBARSCOUNT<=X_25,X_12+19.299999*X_14,X_12+19.700001*X_14,2.2,0),COLOR0000AA;
STICKLINE(CURRBARSCOUNT<=X_26,X_12+20.299999*X_14,X_12+20.700001*X_14,2.3,0),COLOREAEAEA;
STICKLINE(CURRBARSCOUNT<=X_27,X_12+21.299999*X_14,X_12+21.700001*X_14,2.4,0),COLOREAEAEA;
STICKLINE(CURRBARSCOUNT<=X_28,X_12+22.299999*X_14,X_12+22.700001*X_14,2.5,0),COLOREAEAEA;
STICKLINE(CURRBARSCOUNT<=X_29,X_12+23.299999*X_14,X_12+23.700001*X_14,2.6,0),COLOREAEAEA;
STICKLINE(CURRBARSCOUNT<=X_30,X_12+24.299999*X_14,X_12+24.700001*X_14,2.7,0),COLOREAEAEA;
STICKLINE(CURRBARSCOUNT<=X_31,X_12+25.299999*X_14,X_12+25.700001*X_14,2.8,0),COLOREAEAEA;
STICKLINE(CURRBARSCOUNT<=X_32,X_12+26.299999*X_14,X_12+26.700001*X_14,2.9,0),COLOREAEAEA;
STICKLINE(CURRBARSCOUNT<=X_33,X_12+27.299999*X_14,X_12+27.700001*X_14,3,0),COLOREAEAEA;
STICKLINE(CURRBARSCOUNT<=X_34,X_12+28.299999*X_14,X_12+28.700001*X_14,3.1,0),COLOREAEAEA;
STICKLINE(CURRBARSCOUNT<=X_35,X_12+29.299999*X_14,X_12+29.700001*X_14,3.2,0),COLOREAEAEA;
STICKLINE(CURRBARSCOUNT<=X_36,X_12+30.299999*X_14,X_12+30.700001*X_14,3.3,0),COLOREAEAEA;
STICKLINE(CURRBARSCOUNT<=X_37,X_12+31.299999*X_14,X_12+31.700001*X_14,3.4,0),COLOREAEAEA;
STICKLINE(CURRBARSCOUNT<=X_38,X_12+32.299999*X_14,X_12+32.700001*X_14,3.5,0),COLOREAEAEA;
STICKLINE(CURRBARSCOUNT<=X_39,X_12+33.299999*X_14,X_12+33.700001*X_14,3.6,0),COLOREAEAEA;
STICKLINE(CURRBARSCOUNT<=X_41,X_12+35.299999*X_14,X_12+35.700001*X_14,3.7,0),COLOREAEAEA;
STICKLINE(CURRBARSCOUNT<=X_42,X_12+36.299999*X_14,X_12+36.700001*X_14,3.8,0),COLOREAEAEA;
STICKLINE(CURRBARSCOUNT<=X_43,X_12+37.299999*X_14,X_12+37.700001*X_14,3.9,0),COLOREAEAEA;
STICKLINE(CURRBARSCOUNT<=X_44,X_12+38.299999*X_14,X_12+38.700001*X_14,4,0),COLOREAEAEA;
STICKLINE(CURRBARSCOUNT<=X_45,X_12+39.299999*X_14,X_12+39.700001*X_14,4,0),COLOREAEAEA;
X_46:=ROUND(SUM(IF(RANGE(CLOSE,X_12+10*X_14,X_12+11*X_14),VOL,0),X_1)/SUM(VOL,X_1)*X_15);
X_47:=ROUND(SUM(IF(RANGE(CLOSE,X_12+12*X_14,X_12+13*X_14),VOL,0),X_1)/SUM(VOL,X_1)*X_15);
X_48:=ROUND(SUM(IF(RANGE(CLOSE,X_12+14*X_14,X_12+15*X_14),VOL,0),X_1)/SUM(VOL,X_1)*X_15);
X_49:=ROUND(SUM(IF(RANGE(CLOSE,X_12+16*X_14,X_12+17*X_14),VOL,0),X_1)/SUM(VOL,X_1)*X_15);
X_50:=ROUND(SUM(IF(RANGE(CLOSE,X_12+18*X_14,X_12+19*X_14),VOL,0),X_1)/SUM(VOL,X_1)*X_15);
X_51:=ROUND(SUM(IF(RANGE(CLOSE,X_12+21*X_14,X_12+22*X_14),VOL,0),X_1)/SUM(VOL,X_1)*X_15);
X_52:=ROUND(SUM(IF(RANGE(CLOSE,X_12+23*X_14,X_12+24*X_14),VOL,0),X_1)/SUM(VOL,X_1)*X_15);
X_53:=ROUND(SUM(IF(RANGE(CLOSE,X_12+25*X_14,X_12+26*X_14),VOL,0),X_1)/SUM(VOL,X_1)*X_15);
X_54:=ROUND(SUM(IF(RANGE(CLOSE,X_12+27*X_14,X_12+28*X_14),VOL,0),X_1)/SUM(VOL,X_1)*X_15);
X_55:=ROUND(SUM(IF(RANGE(CLOSE,X_12+29*X_14,X_12+30*X_14),VOL,0),X_1)/SUM(VOL,X_1)*X_15);
X_56:=ROUND(SUM(IF(RANGE(CLOSE,X_12+31*X_14,X_12+32*X_14),VOL,0),X_1)/SUM(VOL,X_1)*X_15);
X_57:=ROUND(SUM(IF(RANGE(CLOSE,X_12+33*X_14,X_12+34*X_14),VOL,0),X_1)/SUM(VOL,X_1)*X_15);
X_58:=ROUND(SUM(IF(RANGE(CLOSE,X_12+35*X_14,X_12+36*X_14),VOL,0),X_1)/SUM(VOL,X_1)*X_15);
X_59:=ROUND(SUM(IF(RANGE(CLOSE,X_12+37*X_14,X_12+38*X_14),VOL,0),X_1)/SUM(VOL,X_1)*X_15);
X_60:=ROUND(SUM(IF(RANGE(CLOSE,X_12+38*X_14,X_12+39*X_14),VOL,0),X_1)/SUM(VOL,X_1)*X_15);
X_61:=ROUND(SUM(IF(RANGE(CLOSE,X_12+39*X_14,X_12+40*X_14),VOL,0),X_1)/SUM(VOL,X_1)*X_15);
STICKLINE(CURRBARSCOUNT<=X_46,X_12+10*X_14,X_12+10.1*X_14,4,0),COLOR00AAAA;
STICKLINE(CURRBARSCOUNT<=X_47,X_12+12*X_14,X_12+12.1*X_14,3.8,0),COLOR00AAAA;
STICKLINE(CURRBARSCOUNT<=X_48,X_12+14*X_14,X_12+14.1*X_14,3.6,0),COLOR00AAAA;
STICKLINE(CURRBARSCOUNT<=X_49,X_12+16*X_14,X_12+16.1*X_14,3.4,0),COLOR00AAAA;
STICKLINE(CURRBARSCOUNT<=X_50,X_12+18*X_14,X_12+18.1*X_14,3.2,0),COLOR00AAAA;
STICKLINE(CURRBARSCOUNT<=X_51,X_12+21*X_14,X_12+21.1*X_14,2.9,0),COLOR00AAAA;
STICKLINE(CURRBARSCOUNT<=X_52,X_12+23*X_14,X_12+23.1*X_14,2.7,0),COLOR00AAAA;
STICKLINE(CURRBARSCOUNT<=X_53,X_12+25*X_14,X_12+25.1*X_14,2.5,0),COLOR00AAAA;
STICKLINE(CURRBARSCOUNT<=X_54,X_12+27*X_14,X_12+27.1*X_14,2.3,0),COLOR00AAAA;
STICKLINE(CURRBARSCOUNT<=X_55,X_12+29*X_14,X_12+29.1*X_14,2,0),COLOR00AAAA;
STICKLINE(CURRBARSCOUNT<=X_56,X_12+31*X_14,X_12+31.1*X_14,1.6,0),COLOR00AAAA;
STICKLINE(CURRBARSCOUNT<=X_57,X_12+33*X_14,X_12+33.099998*X_14,0.8,0),COLOR00AAAA;
STICKLINE(CURRBARSCOUNT<=X_58,X_12+35*X_14,X_12+35.099998*X_14,0.6,0),COLOR00AAAA;
STICKLINE(CURRBARSCOUNT<=X_59,X_12+37*X_14,X_12+37.099998*X_14,0.4,0),COLOR00AAAA;
STICKLINE(CURRBARSCOUNT<=X_60,X_12+38*X_14,X_12+38.099998*X_14,0.3,0),COLOR00AAAA;
STICKLINE(CURRBARSCOUNT<=X_61,X_12+39*X_14,X_12+39.099998*X_14,0.2,0),COLOR00AAAA;
X_62:=REF(CLOSE,1);
X_63:=CLOSE>=ZTPRICE(REF(CLOSE,1),0.03);
X_64:=CLOSE>=ZTPRICE(REF(CLOSE,1),0.05);
X_65:=CLOSE>=ZTPRICE(REF(CLOSE,1),0.07);
STICKLINE(X_63,CLOSE,OPEN,3,1),COLOR555555;
STICKLINE(X_63,CLOSE,OPEN,2,1),COLOR777777;
STICKLINE(X_63,CLOSE,OPEN,1,1),COLORCCCCCC;
STICKLINE(X_63,CLOSE,OPEN,0.3,1),COLORCCDDBB;
STICKLINE(X_64,CLOSE,OPEN,3,1),COLOR002288;
STICKLINE(X_64,CLOSE,OPEN,2,1),COLOR0033AA;
STICKLINE(X_64,CLOSE,OPEN,1,1),COLOR0055EE;
STICKLINE(X_64,CLOSE,OPEN,0.3,1),COLOR0088FF;
STICKLINE(X_65,CLOSE,OPEN,3,1),COLOR117777;
STICKLINE(X_65,CLOSE,OPEN,2,1),COLOR119999;
STICKLINE(X_65,CLOSE,OPEN,1,1),COLOR11BBBB;
STICKLINE(X_65,CLOSE,OPEN,0.3,1),COLOR44FFFF;
X_66:=50;
IF(CURRBARSCOUNT<=X_66,CONST(CLOSE),DRAWNULL),DOTLINE,COLOR00EEEE;
IF(CURRBARSCOUNT<=X_66,CONST(CLOSE)*0.9,DRAWNULL),DOTLINE,COLOR60A4F4;
IF(CURRBARSCOUNT<=X_66,CONST(CLOSE)*0.9*0.9,DRAWNULL),DOTLINE,COLOREEEEAE;
IF(CURRBARSCOUNT<=X_66,CONST(CLOSE)*0.9*0.9*0.95,DRAWNULL),DOTLINE,COLOR9AFF9A;
DRAWNUMBER(CURRBARSCOUNT=X_66+2,CONST(CLOSE),CONST(INTPART(WINNER(CLOSE)*100+0.5))),COLOR00EEEE;
DRAWNUMBER(CURRBARSCOUNT=X_66+2,CONST(CLOSE)*0.9,CONST(INTPART(WINNER(CLOSE*0.9)*100+0.5))),COLOR60A4F4;
DRAWNUMBER(CURRBARSCOUNT=X_66+2,CONST(CLOSE)*0.9*0.9,CONST(INTPART(WINNER(CLOSE*0.9*0.9)*100+0.5))),COLOREEEEAE;
DRAWNUMBER(CURRBARSCOUNT=X_66+2,CONST(CLOSE)*0.9*0.9*0.95,CONST(INTPART(WINNER(CLOSE*0.9*0.9*0.95)*100+0.5))),COLORWHITE;
DRAWTEXT(X_63,LOW*0.999,1),COLOR44FFFF;
YY:LLV(CLOSE,13),COLOR6803C7;
X_67:=(OPEN+LOW+HIGH+CLOSE)/4;
X_68:=EMA(X_67,5);
船长:HHV(X_68,60),COLORD8CFBB;
IF(船长>=REF(船长,1),船长,DRAWNULL),COLORRED;
IF(船长<=REF(船长,1),船长,DRAWNULL),COLORGREEN;
【学无止境】
10. 求通达信主图公式
MA5:MA(C,5);
MA10:MA(C,10);
MA20:MA(C,20);
MA60:MA(C,60);
A:=C>REF(C,1)*1.03 AND CROSS(C,MA(C,10));
AB:=MA(C,10)>REF(MA(C,10),1);
AC:=CROSS(MACD.DIF,MACD.DEA) AND MACD.MACD>0;
AD:=KDJ.J<80;
DRAWICON(A AND AB AND AC AND AD,L*0.99,7);
B:=C<REF(C,1)*1.03 AND CROSS(MA(C,5),C);
BA:= CROSS(KDJ.K,KDJ.J) AND KDJ.J<90;
DRAWICON(B AND BA,H*1.01,8);
CA:=CROSS(MACD.DIF,MACD.DEA) AND CROSS(KDJ.J,KDJ.K)
AND CROSS(RSI.RSI1,RSI.RSI2) AND CROSS(MA5,MA60);
DRAWTEXT(CA,L*0.99,'A');