以下是通达信买入大涨指标公式源码和截图
通达信买入大涨指标公式源码:
y:=close/ref(close,1) 1.07;
x:= ma(VOL,5);
a1:=yandx;
攻击:if(a1,70,0),COLORFF3399;
k1:=BArslAst(l ref(h,1)andc/o 1.05);
k2:=l ref(h,k1+1)andcount(l ref(h,k1+1),k1)=1;
回补:if(k2,60,0),colorffcc66;
工作:EMA(CLOSE,5),COLORFFFFFF;
操盘:MA(CLOSE,9),COLORFFFF00;
DRAWICON(FILTER(CROSS(工作,操盘),1),L*0.97,1);
DRAWICON(FILTER(CROSS(操盘,工作),1),H*1.03,2);
V2:=IF(CURRBARSCOUNT=1,VOL*240/FROMOPEN/REF(VOL,1)-1,VOL/REF(VOL,1)-1);
STICKLINE(V2 =1,O,C,1,0),COLORYELLOW;
LC:=REF(CLOSE,1);
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(FF,MA15),(LOW*0.94),'底'),COLORYELLOW;
AA:=(HHV(HIGH,20)-(2*ATR));
BB:=CROSS(CLOSE,REF(HHV(HIGH,55),1));
SSS:=CROSS(MIN(MA(CLOSE,13),AA),CLOSE);
BBB:=BARSLAST(BB);
SSSB:=BARSLAST(SSS);
B1:=((BBB=0)AND(REF(SSSB,1) REF(BBB,1)));
B1B:=BARSLAST(B1);
B2:=((((BB=1)AND(B1B SSSB))AND(B1B 0))AND(COUNT(BB,SSSB)
B2B:=BARSLAST(B2);
B3:=((((BB=1)AND(B2B B1B))AND(COUNT(BB,SSSB) 4))AND(COUNT(BB,SSSB)
K:=(C+H+L)/3;
D:=MA(K,4);
拉升:HHV(D,13),COLORRED,LINETHICK2;
阻力:HHV(D,55),COLORRED;
:LLV(D,8),COLORYELLOW,LINETHICK2;
顶部:HHV(H*0.98,55),COLORYELLOW;
DRAWTEXT(REF(C,1) DANDC DANDD REF(D,1),H*1.02,'←卖出');
DRAWTEXT(REF(C,1) DANDC DANDD REF(D,1),L*0.98,'←次日买'),COLORWHITE;
V1:=EMA(CLOSE,60)-EMA(CLOSE,300);
V2:=EMA(V1,300);
V3:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100;
V4:SMA(V3,2,1);
V5:SMA(V4,2,1);
V6:=CLOSE/REF(CLOSE,3) =1.1;
V7:=BACKSET(V6,3);
买入:if((V7ANDCOUNT(V7,3)=1),30,0),color009090;
DRAWTEXT(买入,35,'买入'),COLOR009090;
通达信买入大涨指标公式截图