M1:=5;M2:=10;M3:=20;M4:=60;
PT :=HIGH-LOW;
AAWW := (O+HIGH + LOW + CLOSE*2)/5;
下降:AAWW – PT,LINETHICK0;
阻力: 2*AAWW-LOW,LINETHICK0;
支撑: 2*AAWW-HIGH,LINETHICK0;
突破:AAWW + PT,LINETHICK0;
明日心理价:(AAWW+突破+阻力+支撑+下降)/5,LINETHICK0;
今日保护价:(REF(C,2)+REF(C,1)+O)/3 ,NODRAW,LINETHICK0;
白买进:DRAWNULL,NODRAW,COLORWHITE;
黄加仓:DRAWNULL,NODRAW,COLORYELLOW;
A1:=MAX(MAX(MA(C,5),MA(C,10)),MA(C,20));
A2:=MIN(MIN(MA(C,5),MA(C,10)),MA(C,20));
DRAWTEXT(H>REF(O,3)*1.19,H,’小心’),COLORGREEN;
VAR1:=(HIGH+LOW+CLOSE)/3;
VAR2:=(VAR1-MA(VAR1,14))/(0.015*AVEDEV(VAR1,14));
AA:=CROSS(VAR2,-100);
BB:=BARSLAST(AA)+2;
DRAWICON(AA ,L*0.99,1);
DRAWTEXT(AA ,REF(L,2),’———————————止损’);
XG2:=CROSS(C,MA(CLOSE,120));
DRAWICON(XG2,H*0.96,14);
XXS:=MA(HIGH,5)*(1+5/100);
DRAWTEXT(CROSS(XXS,C),H*1.02,’开盘逃’),COLORYELLOW;
{ Gupang.com 股-旁-网_通达信股票指标公式}
LC:=REF(CLOSE,1);RSI:=((SMA(MAX((CLOSE – LC),0),3,1) / SMA(ABS((CLOSE – LC)),3,1)) * 100);
FF:=EMA(CLOSE,2);MA15:=EMA(CLOSE,26);DRAWTEXT(CROSS(FF,MA15),(LOW * 0.999),’中继’),COLORA6E500;
DRAWTEXT(CROSS(88,RSI),(HIGH * 1.0),’逃顶’),COLOR1880FF;
STICKLINE(C/REF(C,1)>1.095,C,O,2,0),COLORYELLOW;
RSIW:=SMA(MAX(CLOSE-LC,0),4.1,1)/SMA(ABS(CLOSE-LC),4.1,1)*100;
DRAWICON(CROSS(RSIW,11) ,L*0.99,11);
AAA2:=SUM(IF( CLOSE>REF(CLOSE,1),VOL*C,0),0);
AAA3:=SUM(IF( CLOSE1;
PMB:=REF(PMA,1)REF(密码,1) AND 二日比>1,COLORRED,NODRAW;
DRAWNUMBER(选股=1 ,L*0.985,密码),COLORYELLOW;
DRAWICON(选股,L*0.99,1);
MA5:=MA(CLOSE,5);
MA10:=MA(CLOSE,10);
MA30:=MA(C,30);
五日乖离率:=(C-MA5)/MA5*100;
BB05:=ATAN((MA5/REF(MA5,1)-1)*100)*180/3.1416;
速度5:=SMA(EMA((MA5-REF(MA5,1))/REF(MA5,1),3)*100,3,1);
加速度5:=EMA((速度5-REF(速度5,1)),3),NODRAW;
SSR:=(C-MA30)/MA30*100,NODRAW;
加仓:=FILTER(COUNT(CROSS(BB05,30),5)>=1 AND MA5>REF(MA5,1) AND SSR>REF(SSR,1) AND MA10>REF(MA10,1) AND 加速度5>REF(加速度5,1) AND 速度5>REF(速度5,1) ,10) ;
DRAWTEXT(加仓 ,LOW*0.995,’◆小心诱多’),COLORYELLOW;
XXS1:=MA(HIGH,5)*(1+5/100);
DDDD:=CROSS(C,XXS1);
DRAWTEXT(DDDD,HIGH*1.02,’明走’),COLORYELLOW;
K:=(C+H+L)/3;
D:=MA(K,4);
DRAWTEXT(REF(C,1)>D AND CREF(D,1),H*1.01, ‘←卖出’),COLORYELLOW;
DIR2:=ABS(CLOSE-REF(CLOSE,10));
VIR2:=SUM(ABS(CLOSE-REF(CLOSE,1)),10);
ER2:=DIR2/VIR2;
CS2:=ER2*(0.8-2/24)+2/24;
CQ2:=CS2*CS2;
VAR28:=SMA(MAX(CLOSE-LC,0),5.5,1)/SMA(ABS(CLOSE-LC),6,1)*100;
VARA00:=((AMOUNT)/(VOL))/(100);
VARAB00:=((3)*(HIGH)+LOW+OPEN+(2)*(CLOSE))/(7);
VARAC00:=((SUM(AMOUNT,7))/(VARA00))/(100);
VARD0:=DMA(VARAB00,(VOL)/(VARAC00));
VARDE0:=((CLOSE-VARD0)/(VARD0))*(100);
VARDE0JF:=MA(VARDE0,20)+STD(VARDE0,20);
BIAS18:=((CLOSE-MA(CLOSE,18))/(MA(CLOSE,18)))*(100);
DRAWTEXT(CROSS(84,RSI) AND CROSS(76,VAR28),H*1.01,’卖出’),LINETHICK4,COLORGREEN;
买进价:=((C-REF(MA(C,6),1))/6+MA(C,6))*1.004;
买进条件:=CROSS(C,买进价) AND 买进价>REF(买进价,1);
STICKLINE(买进条件,H,L,0,1),COLORWHITE,LINETHICK1;
STICKLINE(买进条件,O,C,2.5,0),COLORWHITE,LINETHICK2;
加码价:=((C-REF(MA(C,18),1))/18+MA(C,18))*1.004;
加码条件:=CROSS(C,加码价) AND 加码价>REF(加码价,1);
STICKLINE(加码条件,H,L,0,1),COLORYELLOW,LINETHICK2;
STICKLINE(加码条件,O,C,2.5,0),COLORYELLOW,LINETHICK2;
多头线:=EMA(C,1.5),COLOR0000CC;
空头线:=EMA(C,5),COLORMAGENTA;
均衡线:=EMA(空头线,5),COLORGREEN;
VARF1:=COUNT(CROSS(多头线,均衡线),2)=1;
VARF2:=COUNT(CROSS(空头线,均衡线),2)=1;
ZAI:=FILTER(VARF1 AND VARF2,2);
DRAWTEXT(ZAI,均衡线*0.99,’↖主力拉升’),COLOR00FF00;
CC:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20);
DD:=DMA(CLOSE,CC);
上:(1+7/100)*DD,CIRCLEDOT,COLORBLUE;
下:(1-7/100)*DD,CIRCLEDOT,COLORBLUE;
中:(上+下)/2,CIRCLEDOT,COLORBLUE;
IF(上>=REF(上,1), 上,DRAWNULL),CIRCLEDOT,COLOR0099FF;
IF(中>=REF(中,1), 中,DRAWNULL),CIRCLEDOT,COLOR0099FF;
IF(下>=REF(下,1), 下,DRAWNULL),CIRCLEDOT,COLOR0099FF;
MA1:=MA(CLOSE,M1);
MA2:=MA(CLOSE,M2);
MA3:=MA(CLOSE,M3);
MA4:=MA(CLOSE,M4);
AMA2:EMA(DMA(CLOSE,CQ2),2),COLORLIBLUE,LINETHICK2;
AMA3:IF(AMA2/REF(AMA2,1)>0.997,AMA2,DRAWNULL),COLORRED,LINETHICK2;
AMA4:IF(AMA2/REF(AMA2,1)>1.001,AMA2,DRAWNULL),COLORRED,LINETHICK2;
AAPP:MA(MA(CLOSE,3),1),LINETHICK3,COLORGREEN;
IF(AAPP>=REF(AAPP,1),AAPP,DRAWNULL),COLORFF00FF,LINETHICK3;
EMA13:=EMA(C,13);
EMA34:=EMA(C,34);
EMA55:=EMA(C,55);
AR1:=EMA55>EMA34 AND EMA34>EMA13;
AR2:=BARSLAST((C-EMA13)/EMA13*100=REF(EMA13,2);
AR4:=COUNT(CROSS(C,EMA13),AR2)=1;
AR5:=AR1 AND AR2 AND AR3 AND AR4;
AR6:=AR5 AND FILTER(AR5,10);
DRAWTEXT(AR6,L*1.0,’持股待涨’),COLORFF00FF;
FR:=BARSLAST(REF(CROSS(EMA34,EMA13),1)) AND CROSS(EMA13,EMA34);
DRAWTEXT(FR,L*1.0,’梅开二度’),COLORWHITE;
GR1:=BARSLAST(BETWEEN(“BIAS.BIAS2″(6,13,24),0,5) );
GR2:=EMA13>EMA34 AND EMA34>EMA55 AND EMA13>REF(EMA13,1);
GR5:=”MACD.MACD”(12,26,9)=REF(EMA13,3) AND EMA34>=REF(EMA34,1) AND EMA55>=REF(EMA55,1) AND CROSS(C,EMA13) AND CROSS(C,EMA34) AND CROSS
(C,EMA55);
DRAWTEXT(HR2 AND FILTER(HR2,10),L*1.0,’三线齐升’),COLORFFC8FF;
A:=BARSCOUNT(C)+54;
时窗:=A/13=FLOOR(A/13);
DRAWTEXT(时窗,L*0.996,’变盘时窗’),COLORWHITE;
JJ:=(HIGH+LOW+CLOSE)/3;
QJ0:=VOL/IF(HIGH=LOW,4,HIGH-LOW);
QJ1:=IF(CAPITAL=0,QJ0*(JJ-MIN(CLOSE,OPEN)),QJ0*IF(HIGH=LOW,1,(MIN(OPEN,CLOSE)-LOW)));
QJ2:=IF(CAPITAL=0,QJ0*(MIN(OPEN,CLOSE)-LOW),QJ0*IF(HIGH=LOW,1,(JJ-MIN(CLOSE,OPEN))));
QJ3:=IF(CAPITAL=0,QJ0*(HIGH-MAX(OPEN,CLOSE)),QJ0*IF(HIGH=LOW,1,(HIGH-MAX(OPEN,CLOSE))));
QJ4:=IF(CAPITAL=0,QJ0*(MAX(CLOSE,OPEN)-JJ),QJ0*IF(HIGH=LOW,1,(MAX(CLOSE,OPEN)-JJ)));
DDX:=((QJ1+QJ2)-(QJ3+QJ4))/IF(CAPITAL=0,1000000,10000),COLOR00AAAA,LINETHICK;
JW:=”KDJ.J”;
DDY:=((QJ2+QJ4)-(QJ1+QJ3))/SUM(VOL,10)*100;
弄点钱玩:=CROSS(JW,0) AND ((DDX>0 AND DDY>0) OR DDZ>400);
A2W:=”MACD.MACD”(26,12,9);
A1W:=C/REF(C,1)REF(A2W,1) ;
A3:=COUNT(DDX>0.045,10)>2;
弄点钱玩2:=弄点钱玩 AND DDX >0.055 AND DDY>0.07 AND A1W AND A3;
DRAWTEXT(弄点钱玩2>0,L*0.995,’【弄点钱】’),COLORYELLOW;
TJ5:=REF(“CCI.CCI”,1)REF(“CCI.CCI”,1);
TJ6:=REF(“KDJ.J”(9,3,3),1)REF( “KDJ.J”(9,3,3),1);
TJ7:=REF(“RSI.RSI1”,1)REF(“RSI.RSI1”,1);
TJ8:=COUNT(TJ5,5) AND COUNT(TJ6,5) AND COUNT(TJ7,5);
大底:=CROSS(TJ8,0.5);
DRAWICON(大底,L*0.991,9);
TYP:=(HIGH+LOW+CLOSE)/3;
AAWP:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14));
CCI2天均线:=MA(AAWP,2);
CCI底部上升:=FILTER(-100>CCI2天均线 AND CCI2天均线>REF(CCI2天均线,1),5);
DRAWTEXT(CCI底部上升,L-0.05,’底部上升’),COLORRED;
CCI高位下降:=FILTER(CCI2天均线>100 AND REF(CCI2天均线,1)>CCI2天均线,5);
DRAWTEXT(CCI高位下降,H+0.2,’高位下降’),COLORGREEN;
【股票投资】【通达信】快乐主图指标公式
特别声明:文章内容仅供参考,不造成任何投资建议。投资者据此操作,风险自担。