通达信指标公式源码概况:
指标类别: 通达信指标公式
授权方式: 免费版
指标评级: ★★★★★
指标分类: 策略
画线方法: 副图
卖出指标公式
工作: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), #39;底 #39;),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) 3));
B2B:=BARSLAST(B2);
B3:=((((BB = 1) AND (B2B B1B)) AND (COUNT(BB,SSSB) 4)) AND (COUNT(BB,SSSB) 2));
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)D AND CD AND DREF(D,1),H*1.02, #39;卖出 #39;);
DRAWTEXT(REF(C,1)D AND CD AND DREF(D,1),L*0.98, #39;次日买 #39;),COLORWHITE;
上线:=SMA(C,6.5,1);
下线:=SMA(C,13.5,1);
STICKLINE(上线下线 , 上线,下线 ,2.5, 0),COLORRED,LINETHICK2;
STICKLINE(下线上线,上线,下线,2.5,0),COLORYELLOW,LINETHICK2;
DRAWTEXT( CROSS(上线,下线),LOW *0.98, #39;☆买入 #39; ),COLOR00FF00;
DRAWTEXT(CROSS(下线,上线),H*1.02, #39;☆卖出 #39;),COLORMAGENTA;
BBI:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;
UPR:BBI+3*STD(BBI,13),LINETHICK2;
DWN:BBI-3*STD(BBI,13);
安全:MA(CLOSE,60),LINETHICK2;
LC:=REF(CLOSE,1);
RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
DRAWTEXT( CROSS(82,RSI) , HIGH*1.02, #39;卖出 #39;) ,COLORFF9966,LINETHICK2;
A7:=(2*C+H+L)/4;
VAR1:=LLV(LOW,34);
VAR2:=HHV(HIGH,34);
SK:=EMA((A7-VAR1)/(VAR2-VAR1)*100,7);
SD:=EMA(0.667*REF(SK,1)+0.333*SK,5);
DRAWTEXT(IF(COUNT(CLOSEREF(CLOSE,1),8)/86/10 AND VOL=1.5*MA(VOL,5) AND
COUNT(SK=SD,3) AND REF(LOW,1)=LLV(LOW,120),1,0),LOW*0.98, #39;买进 #39;) ,COLOR0099FF;
DRAWTEXT(IF(COUNT(CLOSEREF(CLOSE,1),13)/136/10 AND
COUNT(SKSD,6) AND REF(LOW,5)=LLV(LOW,120) AND REF(CLOSE=OPEN,4) AND
REF(CLOSEOPEN,3) AND REF(CLOSEOPEN,2) AND REF(OPENCLOSE,1) AND
OPENREF(CLOSE,1),1,0),LOW*0.98, #39;买进 #39;) ,COLORYELLOW;
D:=MA(CLOSE,80)-MA(CLOSE,10)/3;
DRAWTEXT(IF(CLOSED AND VOL/240MA(VOL,5)/240 AND CLOSEREF(CLOSE,1)*1.08
AND CLOSEMA(CLOSE,13)*1.3,1,0),LOW*0.98, #39; #39;),COLORYELLOW;
公式解读:
引用: