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');