资源描述:
《同花顺指标公式精选》由会员上传分享,免费在线阅读,更多相关内容在应用文档-天天文库。
1、同花顺指标公式精选01散户线散户线:(HHV(HIGH,13)-CLOSE)/(HHV(HIGH,13)-LLV(LOW,13))*100,ColorFFFF00,LINETHICK2;RSV:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;K:=SMA(RSV,3,1);D:=SMA(K,3,1);J:=3*K-2*D;庄家线:EMA(j,6),colorff00ff,LINETHICK2; 02百万短线Var1:=(CLOSE*2+HIGH+LOW)/4;SK:EMA(Var1,13)-EMA(Var1,21);SD:EMA
2、(SK,2);多方能量:2*(SK-SD)*3.8,LINESTICK;空方能量:(-2)*(SK-SD)*3.8,LINESTICK;03趋势:趋势:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1),colorred,Linethick2;买警:IF(趋势<=20,22,0);卖1:IF(趋势>=95,86,95);卖2:IF(趋势>=88,79,88);卖3:IF(趋
3、势>=81,66,81);卖4:IF(趋势>=74,57,74);底部:15;买警1:IF(趋势<=20,23,20);买进:IF(CROSS(趋势,底部),15,0);04趋势背离RSV:=(((C-LLV(L,21))/(HHV(H,21)-LLV(L,21)))*100);趋势:MA(3*(SMA(RSV,6,1))-2*(SMA(SMA(RSV,5,1),5,1)),2),Linethick2,coloryellow;A:=(O-LLV(L,89))/(HHV(H,89)-LLV(L,89))*100;VAR2:=3*SMA(A,20,1)-2*SMA(SMA(A,20,1),
4、15,1)-100;背离:(FORCAST(((-1))*(VAR2),21)),Linethick2,Color9933FF;钱龙:DRAWTEXT((CROSS(背离,趋势)),背离,'●'),Color00FF00;DRAWTEXT((CROSS(趋势,背离)),背离,'●'),colorred;05买卖指示线VAR1:=SUM(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),25);VAR2:=HIGH-REF(HIGH,1);VAR3:=REF(LOW,1)-LOW;VAR4:=SUM(IF(VA
5、R2>0 AND VAR2>VAR3,VAR2,0),25);VAR5:=SUM(IF(VAR3>0 AND VAR3>VAR2,VAR3,0),25);VAR6:=VAR4*100/VAR1;VAR7:=VAR5*100/VAR1;VAR8:=MA(ABS(VAR7-VAR6)/(VAR7+VAR6)*100,15);VAR9:=(VAR8+REF(VAR8,15))/2;A:=(VAR7>VAR6 AND VAR7>25 AND VAR6<25);B:=ZIG(3,50/5)*100,COLORWHITE;G:MA(B,2),COLORYELLOW;D:=CROSS(B,G)*10
6、00,COLORRED;W:=CROSS(G,B)*1000,COLORBLUE;E:=REF(INDEXC,1);F:=SMA(MAX(INDEXC-E,0),3,1)/SMA(ABS(INDEXC-E),3,1);VAR10:=F AND F<8;VAR11:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;VAR12:=SMA(VAR11,3,1);VAR13:=SMA(VAR12,3,1);VAR14:=VAR13 AND VAR13<20;MM:=A AND D AND VAR10 AND VAR14 ;DRAWTEXT(W=1
7、000,B*1.05,'卖' ),COLOR00FF00;DRAWTEXT(D=1000,B*1.05,'买'),COLORRED; 06买卖线VAR1:=(2*CLOSE+HIGH+LOW+OPEN)/5;安全线:EMA(VAR1,55),CIRCLEDOT;K:SLOPE(EMA(VAR1,2),7)*15+VAR1;D:EMA(K,2);J:2.8*K-1.8*D;买1:IF(CROSS(K,D)ANDK<安全线,9.8,6);买2:IF