注册 登录  
 加关注
   显示下一条  |  关闭
温馨提示!由于新浪微博认证机制调整,您的新浪微博帐号绑定已过期,请重新绑定!立即重新绑定新浪微博》  |  关闭

wwwの博客

╲````睜開眼睛ル一切是伱.....╲伱╲┃┃╲の╲``閉上眼睛ル伱是一切..

 
 
 

日志

 
 

【转载】通达信主副图指标集锦(四)  

2015-07-22 14:26:53|  分类: 期股夹 |  标签: |举报 |字号 订阅

  下载LOFTER 我的照片书  |

通达信主副图指标集锦(一) - 好地方 - 好地方通达信主副图指标集锦(一) - 好地方 - 好地方

 

通达信主副图指标集锦(一) - 好地方 - 好地方


{麒麟跟庄  主图}

{麒麟短线王}
AMV0:=VOL*(O C)/2;
生命线:SUM(AMV0,88)/SUM(VOL,88),COLORFF00FF,LINETHICK2;
CG:MA(C,17),COLORFFCC66,LINETHICK2;
FL:=HHV(CG,2);
持股线:HHV(CG,2),COLOR00FF00;
FS:CG-(FL-CG),COLORYELLOW,LINETHICK2;

{跟庄到顶主图}
VAR4:=(LOW HIGH CLOSE)/3;
操作: MA(VAR4,5);
拉升: HHV(操作,13);
压力: HHV(操作,60);
买卖: LLV(操作,13);
底部支撑: LLV(LOW,60)*1.02;
顶部: HHV(HIGH,60)*0.98;


{极品公式七剑主图}
GJTJ1:=100*(C-LLV(L,5))/(HHV(C,5)-LLV(L,5));
GJTJ2:=100*(C-LLV(L,10))/(HHV(C,10)-LLV(L,10));
GJTJ3:=100*(C-LLV(L,20))/(HHV(C,20)-LLV(L,20));
GJTJ4:=100*(C-LLV(L,30))/(HHV(C,30)-LLV(L,30));
A:=GJTJ1=GJTJ2 AND GJTJ2=GJTJ3 AND GJTJ1=100 AND GJTJ4>96;
B:=COUNT(A,2)=1;
D:=GJTJ1<95;
YH:=INDEXC/REF(INDEXC,1)*REF(C,1);
YH1:=REF(C,1) C-INDEXC/REF(INDEXC,1)*REF(C,1);
X1:=EMA(YH1,7);
X2:=EMA(YH1,14);
X3:=EMA(X1,14);
E:=X1>X2 AND X2>X3;
竟星:=B AND D AND E;
DRAWTEXT(竟星,(L * 0.95),'竟星'),COLORWHITE;
XG:=BARSLAST(CROSS(GJTJ4,GJTJ1))<5  AND GJTJ1>GJTJ4;
天瀑:=COUNT(XG,3)=1 AND XG;
DRAWTEXT(天瀑,(L * 0.95),'天瀑'),COLORYELLOW;
STICKLINE(天瀑,C,O,6,0),COLORYELLOW;
STICKLINE(天瀑,H,L,1,0),COLORYELLOW;
A1:=BARSLAST(CROSS(30,GJTJ1))<2 AND BARSLAST(CROSS(GJTJ1,50))<2;
B1:=BARSLAST(CROSS(GJTJ4,GJTJ1))<2 AND GJTJ1>GJTJ4;
E1:=GJTJ1>60 AND GJTJ4>70;
白金:=A1 AND B1  AND E1;
DRAWTEXT(白金,(L * 0.95),'白金'),COLORGREEN;
STICKLINE(白金,C,O,6,0),COLORGREEN;
{日月}
A2:=BARSLAST(CROSS(97,GJTJ1))<=1 AND BARSLAST(CROSS(GJTJ1,85))<=1;
B2:=BARSLAST(CROSS(97,GJTJ2))<=1 AND BARSLAST(CROSS(GJTJ2,85))<=1;
A3:=A2 AND B2;
AA:=BARSLAST(CROSS(97,GJTJ1))<=2 AND BARSLAST(CROSS(GJTJ1,85))<=1;
BA:=BARSLAST(CROSS(97,GJTJ2))<=2 AND BARSLAST(CROSS(GJTJ2,85))<=1;
A4:=AA AND BA ;
AAA:=BARSLAST(CROSS(97,GJTJ1))<=3 AND BARSLAST(CROSS(GJTJ1,85))<=1;
BAA:=BARSLAST(CROSS(97,GJTJ2))<=3 AND BARSLAST(CROSS(GJTJ2,85))<=1;
A8:=AAA AND BAA ;
B21:=REF(A3,1);
B3:=REF(A4,1);
B4:=REF(A8,1);
D2:=GJTJ1=100 AND GJTJ2=100  AND A3 ;
D3:=GJTJ1=100 AND GJTJ2=100  AND A4 ;
D4:=GJTJ1=100 AND GJTJ2=100  AND A8 ;
日月:=D2 OR D3 OR D3;
DRAWTEXT(日月,(L * 0.95),'日月'),COLORF00FF0;
A5:=BARSLAST(CROSS(95,GJTJ1))<=2;
B5:=BARSLAST(CROSS(95,GJTJ2))<=2;
E5:= GJTJ4
F1:=GJTJ2>50 AND GJTJ3>50;
G1:=GJTJ1=100 AND GJTJ2=100;
TX:=COUNT(G1,2)=1;
青干:=A5 AND B5 AND E5 AND F1 AND TX;
DRAWTEXT(青干,(L * 0.95),'青干'),COLORRED;
STICKLINE(青干,C,O,6,0),COLORRED;
STICKLINE(青干,H,L,1,0),COLORRED;
A6:=GJTJ3=100;
B6:=GJTJ4<90;
莫问:=COUNT(A6,2) = 2 AND B6;
DRAWTEXT(莫问,(L * 0.95),'莫问'),COLORBLUE;
A7:=BARSLAST(CROSS(50,GJTJ1))<3 AND BARSLAST(CROSS(GJTJ1,50))<3;
B7:=BARSLAST(CROSS(GJTJ4,GJTJ1))<2 AND GJTJ1>GJTJ4;
黄金:=A7 AND B7;
DRAWTEXT(黄金,(L * 0.95),'黄金'),COLORFFBB00;
三十:MA(C,30),COLORRED,LINETHICK2;
跌:IF(MA(CLOSE,30)<=REF(MA(CLOSE,30),1),MA(CLOSE,30),DRAWNULL),COLORGREEN,LINETHICK2;


{天堂地狱  主图}

VAR1:=(CLOSE-MA(CLOSE,30))/MA(CLOSE,30)*100;
VAR2:=CLOSE>OPEN AND OPEN-LOW>HIGH-CLOSE;
VAR3:=REF(VAR1,1)<-20 AND VAR2;
VAR4:=REF(VAR1,1)<-20 AND CLOSE>OPEN AND (CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*1000>20;
VAR5:=FILTER(VAR3 OR VAR4,3);
VAR6:=OPEN>CLOSE AND HIGH-IF(CLOSE>OPEN,CLOSE,OPEN)>IF(OPEN
VAR7:=REF(VAR1,1)>ABS(-20) AND VAR6;
VAR8:=REF(VAR1,1)>ABS(-20) AND CLOSE20;
VAR9:=FILTER(VAR7 OR VAR8,3);
VARA:=REF(VAR1,1)<-13 AND VAR2;
VARB:=REF(VAR1,1)<-13 AND CLOSE>OPEN AND (CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*1000>20;
VARC:=FILTER(VARA OR VARB,3);
VARD:=REF(VAR1,1)>ABS(-13) AND VAR6;
VARE:=REF(VAR1,1)>ABS(-13) AND CLOSE20;
VARF:=FILTER(VARD OR VARE,3);
DRAWICON(VAR5*VAR1>0,LOW,1);
DRAWICON(VAR9*VAR1>0,HIGH,2);
DRAWTEXT(VARC*VAR1>0,1.02*REF(CLOSE,1),'关注');
DRAWTEXT(VARF*VAR1>0,0.99*REF(CLOSE,1),'风险');
VAR10:=(2*CLOSE HIGH LOW OPEN)/5;
A1: (EMA(VAR10,3) EMA(VAR10,6) EMA(VAR10,12) EMA(VAR10,24))/4;
A2: EMA(A1,2);
A3: EMA(A2,2);
A4: EMA(A3,2);
A5: EMA(A4,2);
A6: EMA(A5,2);
A7: EMA(A6,2);
生命线: EMA(CLOSE,55);
VAR11:=LLV(LOW,5);
VAR12:=HHV(HIGH,4);
VAR13:=EMA((VAR10-VAR11)/(VAR12-VAR11)*100,4);
VAR14:=EMA(0.667*REF(VAR13,1) 0.333*VAR13,2);
DRAWTEXT(CROSS(VAR13,VAR14) AND VAR13<40,LOW,'买');
VAR15:=EMA(VAR10,13)-EMA(VAR10,34);
VAR16:=EMA(VAR15,5);
VAR17:=(-2)*(VAR15-VAR16)*3.8;
DRAWTEXT(CROSS(VAR17,MA(VAR17,3)) AND VAR16,HIGH,'卖');
VAR18:=(2*CLOSE LOW HIGH)/4;
天堂: EMA(VAR18,45)*1.15;
地狱: EMA(VAR18,40)*0.85;


{ 孟子强势  副图 }

强度:POW(MA(CLOSE/INDEXC,3)*10000,3);
形态:MA(MA(MA(MA(MA(强度,5),5),5),5),5);
强势:=BARSLASTCOUNT(形态/REF(形态,1)>1)>3;
MA5:=MA(CLOSE,5);
MA15:=MA(CLOSE,15);
MA34:=MA(CLOSE,34);

AA10:=MA(C,10);
十日角度:ATAN((AA10-REF(AA10,1)))*180/3.1416,LINETHICK0;
AA20:=MA(C,20);
廿日角度:ATAN((AA20-REF(AA20,1)))*180/3.1416,LINETHICK0;

选股:强度*(CLOSE<0.05 AND 十日角度<廿日角度 AND 廿日角度>0 AND

十日角度>0);

 

 

{趋势飘带}   主图

MA(EMA(CLOSE,12),1),COLORff00ff;
MA(EMA(CLOSE,12),3),COLORff00ff;
MA(EMA(CLOSE,12),5),COLORff00ff;
MA(EMA(CLOSE,12),7),COLORwhite;
MA(EMA(CLOSE,12),9),COLORff00ff;
MA(EMA(CLOSE,12),11),COLORff00ff;
MA(EMA(CLOSE,12),13),COLORff00ff;
MA(EMA(CLOSE,60),1),COLORGREEN;
MA(EMA(CLOSE,60),3),COLORGREEN;
MA(EMA(CLOSE,60),5),COLOR89BD00;
MA(EMA(CLOSE,60),7),COLORGREEN;
MA(EMA(CLOSE,60),9),COLORGREEN;
MA(EMA(CLOSE,60),11),COLORGREEN;
MA(EMA(CLOSE,60),13),COLORGREEN;
DRAWTEXT(FILTER(EMA(CLOSE,60)-EMA(CLOSE,12)>0 AND EMA(CLOSE,12)/LOW>1.15,5),
LOW,'●'),COLORff00ff;
DRAWTEXT(FILTER(EMA(CLOSE,12)-EMA(CLOSE,60)>0 AND HIGH/EMA(CLOSE,12)>1.15,5),
HIGH,'●'),COLORYELLOW;
买卖力度    


VAR1:=IF(YEAR>=2003 AND MONTH>=1,0,1);
VAR2:=(CLOSE-LLV(LOW,24))/(HHV(HIGH,24)-LLV(LOW,24))*200*10*VAR1;
买卖力度: SMA(VAR2,5,1)*VAR1;
卖出区: 1500*VAR1;
VAR3:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN))*VAR1;
VAR4:=(IF(CLOSE>OPEN,VAR3*(HIGH-LOW),IF(CLOSEOPEN,0-VAR3*(HIGH-CLOSE OPEN-LOW),IF(CLOSEOPEN,0-VAR3*(HIGH-CLOSE OPEN-LOW),IF(CLOSEOPEN,VAR3*(HIGH-LOW),IF(CLOSE
VAR5:=AMOUNT/(100*VOL)*VAR1;
VAR6:=MA(VAR5,40)*VAR1;
VAR7:=100*(CLOSE-VAR6)/VAR6*VAR1;
底部追击: IF(VAR4>0 AND VAR7<-12 AND CLOSE/OPEN>1.08,300,200)*VAR1;
STICKLINE(VAR4>0 AND VAR7<-12 AND CLOSE/OPEN>1.08,1200,200,10,0)*VAR1;
买进: IF(VAR4>0 AND VAR7<-12 AND CLOSE/OPEN>1.05,300,200)*VAR1;
STICKLINE(VAR4>0 AND VAR7<-12 AND CLOSE/OPEN>1.05,800,200,6,1)*VAR1;
VAR8:=(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*100;
VAR9:=SMA(VAR8,3,1);
VARA:=SMA(VAR9,3,1);
D:SMA(VARA,5,1)*20;
短线泰斗  


YS1:=(((HIGH LOW) (CLOSE * 2)) / 4);
RK3:=EMA(YS1,10);
RK4:=STD(YS1,10);
RK5:=(((YS1 - RK3) * 100) / RK4);
RK6:=EMA(RK5,5);
RK7:=EMA(RK6,10);
涨:=(((EMA(RK6,10) 100) / 2) - 5 );
跌:=EMA(涨,4);
回调可进:=IF((CROSS(涨,跌) AND (跌 < (0 - 10))),20,0);
风险:IF(CROSS(跌,80),80,100),LINETHICK1,COLOR99FF00;
量价线1:EMA(跌,4) ,COLORFFFF00;
量价线2:EMA(量价线1,4) ,COLOR00FF00;
量价线3:EMA(量价线2,4) ,COLORFFFF00;
量价线4:EMA(量价线3,4) ,COLORFF0000;
上升:IF((涨 > REF(涨,1)),涨,0),CIRCLEDOT,COLORFF0000;
下跌:IF((涨 < REF(涨,1)),涨,0),CIRCLEDOT,COLORF00F00;
转向:IF(CROSS(跌,80),涨,0),CIRCLEDOT,COLORF00FFF;
DRAWTEXT(回调可进,20,'回调可进'),COLORCCCCFF;
DRAWTEXT(((((涨 > REF(涨,1)) AND (跌 < 10)) AND (跌 > (0 - 10))) AND (REF(涨,1) < REF(涨,2))),10,'安全区'),COLORCCFF99;
VAR11:=SUMBARS(VOL,(FINANCE(7) * 100));
VAR22:=DMA(EMA(CLOSE,12),((SUM(VOL,5) / 3) / CAPITAL));
VAR3:=(((CLOSE - VAR22) / VAR22) * 100);
VAR4:=HHV(VAR3,VAR11);
VAR5:=LLV(VAR3,VAR11);
VAR6:=(((VAR3 - VAR5) / (VAR4 - VAR5)) * 100);
K:=SMA(VAR6,3,1);
D:=SMA(K,3,1);
J:=((3 * K) - (2 * D));
MA1:=MA(J,3);
STICKLINE(((FILTER(((J > MA1) AND (J <= 3)),5) = 1) AND (跌 < 0)),涨,(涨 10),8,0),COLORFF00FF;
DRAWTEXT(((FILTER(((J > MA1) AND (J <= 3)),5) = 1) AND (跌 < 0)),(涨 13),'关注'),LINETHICK2,COLOR00FF00;
DRAWTEXT((((涨 < REF(涨,1)) AND (REF(涨,1) > REF(涨,2))) AND (涨 > 105)),(涨 - 3),'逃顶'),LINETHICK2,COLOR0000FF;


吉祥之烛   


Var1:=REF(CLOSE,5);
Var2:=SMA(MAX(CLOSE-Var1,0),8,1)/SMA(ABS(CLOSE-Var1),8,1)*60;
火苗: MA(Var2,4), stick,color00ffff ,linethick3;
Var3:=MA(Var2,8);
Var4:=IF(Var2>Var3,火苗,0);
Var5:=IF(Var2
DT:=Var4;
KT:=Var5;
RKP:IF(DT<=Var3,火苗,0),stick,linethick3,colorblue ;
QKP:IF(KT>=Var3,火苗,0),linethick2,colorwhite;
JKP:IF(DT>=Var3 ,火苗-8,0),stick,linethick4,color0033ff;
GP:=DRAWTEXT(QKP>0,40,'火灭了!'),colorwhite;


{超级排序盯庄 }  

n:1 100 75

Var1:=3*SMA((CLOSE-LLV(LOW,n))/(HHV(HIGH,n)-LLV(LOW,n))*100,20,1)
-2*SMA(SMA((CLOSE-LLV(LOW,n))/(HHV(HIGH,n)-LLV(LOW,n))*100,20,1),15,1);
Var2:=3*SMA((OPEN-LLV(LOW,n))/(HHV(HIGH,n)-LLV(LOW,n))*100,20,1)
-2*SMA(SMA((OPEN-LLV(LOW,n))/(HHV(HIGH,n)-LLV(LOW,n))*100,20,1),15,1);
Var3:=100-Var2;
Var4:=100-Var1;
var6:=100*VOL/CAPITAL*10;
a:=IF(Var4
总排序:IF(Var4
进场资金:IF(Var4
出场资金:IF(Var4>=REF(Var3,1),var6,0),COLORblue;
百日成交:ma(AMOUNT,100)*100/100000000;
百日换手:sum(v/capital*100,100);
STICKLINE(IF(进场资金>0,1,0),0,进场资金*10,4,0),COLORRED;
STICKLINE(IF(出场资金>0,1,0),0,出场资金*10,4,0),COLORblue;
选股:ref(总排序,1)=0 and 总排序>0,colorwhite;
{天堂星踏金浪}  


Var1:=(2*CLOSE HIGH LOW)/4;
Var2:=LLV(LOW,34);
Var3:=HHV(HIGH,34);
Var4:=LLV(LOW,13);
Var5:=HHV(HIGH,13);
Var6:=EMA((Var1-Var4)/(Var5-Var2)*100,5);
Var7:=EMA((Var1-Var2)/(Var3-Var2)*100,8);
金浪: Var6,coloryellow ,linethick2 ;
aa:ema(var6,7),colorf0f000;
海浪: Var7;
踏上金浪:if(cross(金浪,aa) and aa<=25 ,1,0),stick,colorred;
stickline(金浪
stickline(海浪,0,海浪,10,0),color40cc00;
stickline(海浪,0,海浪*0.9,10,0),color40bc00;
stickline(海浪,0,海浪*0.8,10,0),color40ae00;
stickline(海浪,0,海浪*0.6,10,0),color409c00;
stickline(海浪,0,海浪*0.4,10,0),color409000;
stickline(金浪>=aa,金浪,aa,6,0),coloryellow;
stickline(aa>=海浪,aa,海浪,6,0),color40cc00;
drawicon(cross(金浪,aa) and aa<=25 ,金浪,1);
{战国箭雨}  


Var1:=REF(CLOSE,2);
A2:SMA(MAX(CLOSE-Var1,0),7,1)/SMA(ABS(CLOSE-Var1),7,1)*100,COLOR00FF00;
车弩机: IF(A2<12,30,0);
Var2:=REF(CLOSE,1);
Var3:=SMA(MAX(CLOSE-Var2,0),7,1)/SMA(ABS(CLOSE-Var2),7,1)*100;
弯弓: IF(Var3<12,30,0);
STICKLINE(A2>80,A2 1,A2-1,4,0),COLORRED;
逢高派发区:0,COLORRED;
VAR1J:=close/(ema(ema((c l h)/3,3),26)*0.9)<0.95 ;
放箭:IF(VAR1J,15,0),STICK,linethick3,COLORRED;
DRAWTEXT(VAR1J ,8,'箭'),COLORF0F000;
Vare1:=(INDEXC-REF(INDEXC, 1))/REF(INDEXC, 1);
Vare2:=(CLOSE-REF(CLOSE, 1))/REF(CLOSE, 1);
Vare3:=IF(Vare1>0.010, 0.900, 1) AND IF(Vare1>(-0.025), 1, 1.200);
Vare4:=Vare3*(Vare2-Vare1)*100;
Vare5:=SUM(Vare4, 10);
Vare6:=SMA(Vare5, 40, 1);
Vare7:=IF(CLOSE and MA(VOL, 5)/240 AND CLOSE>REF(CLOSE, 1)*1.0 AND CLOSE,88,0);{Var38>Var39;}
Vare8:=IF(CLOSE/REF(CLOSE, 1)>1.050 AND VOL/CAPITAL*100<10 AND CLOSE<17 AND HIGH/CLOSE<1.010 AND Vare7>0, 91, 0);
追击:IF(Vare8>90,30,0),STICK,linethick3,COLORBLUE;
DRAWTEXT(Vare8>90,30,'追击'),COLORYELLOW;
新改的三线开合 ,参数用原来的

C0:=(H L C O)/4;
A1:=HHV(C0,N);A2:=LLV(C0,N);A3:=A1-A2;
A4:=SMA((C0-A2)/A3,3,1)*100;
B1:=HHV(C0,4*N);B2:=LLV(C0,4*N);B3:=B1-B2;
B4:=SMA((C0-B2)/B3,3,1)*100;
C1:=HHV(C0,11*N);C2:=LLV(C0,11*N);C3:=C1-C2;
C4:=SMA((C0-C2)/C3,3,1)*100;
短期相对价位:A4,COLOR66FFFF,LINETHICK2;
中期相对价位:B4,COLOR6688FF,LINETHICK2;
长期相对价位:C4,COLOR6600FF,LINETHICK2;
{天线:90,LINETHICK1,COLOREEEE33,POINTDOT;
地线:10,LINETHICK1,COLOR33EE33,POINTDOT;
中线:50,LINETHICK1,COLOREEEEEE,POINTDOT;}
短抛:IF(短期相对价位>99,55,0),LINETHICK0,COLORWHITE;
中抛:IF(中期相对价位>99,55,0),LINETHICK0,COLORYELLOW;
长抛:IF(长期相对价位>99,55,0),LINETHICK0,COLORMAGENTA;
STICKLINE(短期相对价位<4.10 ,25,0,3,0),COLORYELLOW;
STICKLINE(短期相对价位>99 ,95,100,4,0),COLORWHITE;
STICKLINE(中期相对价位>99 ,95,100,4,0),COLORYELLOW;
STICKLINE(长期相对价位>99 ,95,100,4,0),COLORMAGENTA;
STICKLINE(长期相对价位>=99 AND 中期相对价位>=99 AND 短期相对价位>=99,长期相对价位,50,1,0), COLORYELLOW;
STICKLINE(长期相对价位>=99 AND 中期相对价位>=99 AND 短期相对价位>=99,60,50,1,0),COLORRED;
STICKLINE(长期相对价位<=2 AND 中期相对价位<=2 AND 短期相对价位<=5 , 长期相对价位,50,1,0), COLORRED;
STICKLINE(长期相对价位<=2 AND 中期相对价位<=2 AND 短期相对价位<=5 , 35,50,1,0),COLORYELLOW;


{看趋势}  


DBIAS:=(INDEXC-MA(INDEXC,13))/MA(INDEXC,13)*100;
大盘底:IF(REF(DBIAS,1)<-5 AND DBIAS>-5,100,0),STICK,LINETHICK3,COLORYELLOW;
STICKLINE(DBIAS<-5,50,0,4,0),COLOR0099CC;
GBIAS:=(C-MA(C,13))/MA(C,13)*100;
个股底:IF(REF(GBIAS,1)<-8 AND GBIAS>-8,80,0),STICK,LINETHICK2,COLORFFFF11;
STICKLINE(GBIAS<-8,30,0,3,0),COLORFF9900;
VARA:=IF(REF(L,1)<=LLV(L,120) AND HHV(C,120)/LLV(C,120)>1.25 AND C>O AND HIGH>LOW 0.04,4,0);
探底:IF(VARA>0,-40,0),COLOR00FF00,STICK,LINETHICK3;

A3:=REF(HHV(INDEXC,30),1);
B3:=REF(LLV(INDEXC,30),1);
大盘趋势:100*(INDEXC-B3)/(A3-B3),COLORRED;
A4:=REF(HHV(C,30),1);
B4:=REF(LLV(C,30),1);
个股趋势:100*(C-B4)/(A4-B4),COLORWHITE;
底线:0,COLORGREEN;
顶线:100,COLORGREEN;
A1:=LLV(H,250);
MYP:100*(C-A1)/A1,COLORFF00FF;
A2:=HHV(H,250);
MYL:100*(A2-C)/C,COLOR66FF33;
VARB:=SMA(ABS(L-REF(L,1)),3,1)/SMA(MAX(L-REF(L,1),0),3,1);
VARC:=EMA(IF(C< EMA(C,250),VARB*1000,VARB*10),3);
VARD:=EMA(IF(L<=LLV(L,30),VARC/2 HHV(VARC,30),0),3)/618;
IF(VARD>100,-25,0),STICK,COLOR99FFCC,LINETHICK3;
VAR1:=AMOUNT/VOL/100;
VAR2:=(3*HIGH LOW OPEN 2*CLOSE)/7;
VAR3:=SUM(AMOUNT,7)/VAR1/100;
VAR4:=DMA(VAR2,VOL/VAR3);
VAR5:=(CLOSE-VAR4)/VAR4*100;
VAR6:=MA(VAR5,20) STD(VAR5,20);
VAR7:=MA(VAR5,20) 1.732*STD(VAR5,20);
BIAS21:=(CLOSE-MA(CLOSE,21))/MA(CLOSE,21)*100;
VAR8:=(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*100;
K1:=SMA(VAR8,3,1);
D1:=SMA(K1,3,1);
J1:=3*K1-2*D1;
VAR9:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K2:=SMA(VAR9,3,1);
D2:=SMA(K2,3,1);
J2:=3*K2-2*D2;
STICKLINE(REF(BIAS21,1)>=5 AND CROSS(VAR6,VAR5) AND REF(J1,1)>80 AND REF(J2,1)>80,100,0,4,0),COLORBLUE;
STICKLINE(REF(BIAS21,1)>=5 AND CROSS(VAR7,VAR5) AND REF(J1,1)>80 AND REF(J2,1)>80 ,100,0,4,0),COLORBLUE;
VAR10:=REF(CLOSE,1.5);
VAR11:=SMA(MAX(CLOSE-VAR10,0),6,1)/SMA(ABS(CLOSE-VAR10),6,1)*100;
STICKLINE((REF(VAR11,1)>80) AND (VAR11<79),70,0,4,0),COLORDDDDFF;
VAR12:=REF(CLOSE,1);
VAR13:=SMA(MAX(CLOSE-VAR12,0),6,1)/SMA(ABS(CLOSE-VAR12),6,1)*100;
STICKLINE(CROSS(84,VAR13),50,0,4,0),COLORFFCC00;
海洋大底  


CYS:=(C-CYC(13))/CYC(13)*100;
绝对底:IF(CYS<=-27,90,0),COLORWHITE,LINETHICK2;
大底:IF(CYS<=-20,60,0),COLORBLUE,LINETHICK2;
中底:IF(CYS<=-17,35,0),COLORYELLOW,LINETHICK2;
小底:IF(CYS<=-9,20,0),COLORGRAY,LINETHICK2;
快线:SMA(MAX(CLOSE-REF(CLOSE,1),0),6,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),6,1)*100,COLORRED;
慢线:SMA(MAX(CLOSE-REF(CLOSE,1),0),12,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),12,1)*100,COLORFFCCCC;
{波滔浪涌} 

 

短线WR:MA((CLOSE-LLV(LOW,98))/(HHV(HIGH,98)-LLV(LOW,98))*120,8),colorFF0033,LINETHICK2;
中线WR:MA((CLOSE-LLV(LOW,88))/(HHV(HIGH,88)-LLV(LOW,88))*120,8),colorYELLOW,LINETHICK2;
RSV:=(CLOSE-LLV(LOW,25))/(HHV(HIGH,25)-LLV(LOW,25));
DY1:=(O CLOSE HIGH LOW)/4;
DY2:=LLV(L,20);
DY3:=HHV(H,99);
DYA:=MA((DY1-DY2)/(DY3-DY2)*100,1);
DYB:=MA(DYA,5);
A1:=EMA((DY1-DY2)/(DY3-DY2)*180,20{88});
B1:=EMA(REF(A1,1),1);
B2:=MA((0.667*REF(RSV,1) 0.333*RSV),1);
弱波:=IF(A1>=B2,A1,B2),colorGREEN,pointdot,LINETHICK2;
强浪:=IF(B1-A1,B1,A1),coloryellow,pointdot,LINETHICK2;
STICKLINE(弱波>强浪,强浪,弱波 0.03,6,0),colorff22ff;
STICKLINE(弱波>强浪,强浪,弱波 0.03,6,0),colorff66ff;
STICKLINE(弱波>强浪,强浪,弱波 0.03,1,0),colorff88ff;
STICKLINE(弱波<强浪,强浪,弱波,6,0),COLOR00aa00;
STICKLINE(弱波<强浪,强浪,弱波,6,0),COLOR00cc00;
STICKLINE(弱波<强浪,强浪,弱波,1,0),COLOR00ee00;
{中线看盘}   


v1:=hhv(high,30)=high;
创三十日新高:if(v1,1,0),colorred,stick,linethick4;
v2:=LLV(LOW,30)=LOW;
创三十日新低:if(v2,0.55,0),color00ff00,stick,linethick4;
a1:=LLV(LOW,30)=LOW;
a2:=CLOSE>=(HIGH-LOW)*2/3 LOW;
a3:=a1 AND a2 AND CLOSE>OPEN;
有反弹愿望:if(a3,0.4,0),colorblue,stick,linethick4;
a4:=CLOSE>=MA(CLOSE,60);
中线状态:if(a4,0.15,0),colorffcc66,stick,linethick4;
var1:=MA(CLOSE,10);
var2:=MA(CLOSE,60);
var3:=CLOSE>=var1 AND var1>var2;
中线强势:if(var3,0.35,0),colorff00ff,stick,linethick4;
y1:=MA(CLOSE,3);
y2:=MA(CLOSE,10);
y3:=MA(CLOSE,60);
y4:=y1>y2;
y5:=y2>y3;
y6:=CLOSE>=y1 AND y4 AND y5;
中线超强势:if(y6,0.20,0),colorwhite,stick,linethick4;
{上下通道}   


Var2:=MA(HIGH-LOW,21);
Var3:=VOL;
Var4:=Var2>REF(Var2,1) AND Var3>REF(Var3,1);
Var5:=Var2>REF(Var2,1) AND Var3
Var6:=Var2REF(Var3,1);
Var7:=Var2
趋势延续: STICKLINE(Var4>0,LOW,HIGH,5.5,1),COLORRED;
可能变盘: STICKLINE(Var5>0,LOW,HIGH,5.5,0),COLORBLUE;
多空平衡: STICKLINE(Var6>0,LOW,HIGH,5.5,1),COLORYELLOW;
趋势预测: STICKLINE(Var7>0,LOW,HIGH,5.5,0), COLORFF00FF;
ma10:ma(c,10),colorwhite;
v1:=ma(HIGH,30)*1.15 ;
v2:=ma(HIGH,3)*1.03;
v3:=ma(LOW,3)*0.97;
v4:=ma(LOW,30)*0.85;
小通道上:ma(v2,30),colorred,linethick2;
小通道下:ma(v3,30),color00ff00,linethick2;
{三丰铁手} 


AS:=EMA((C/MA(C,20)-1)*666,3);
正镜:AS,LINETHICK2,colorred;
反镜:AS*(-1),color00ff00,LINETHICK2;
STICKLINE(正镜>0,0,正镜,6,0),colorred;
STICKLINE(正镜>0,0,反镜,6,0),color888888;
100,colorwhite,pointdot;
-100,colorwhite,pointdot;
50,colorffcc66,pointdot;
-50,colorffcc66,pointdot;
初升介入    

V1:=(C-LLV(L,20))/(HHV(H,20)-LLV(L,20))*100;
V2:=SMA(V1,20,1);
V3:=SMA(V2,15,1);
V4:=(3*V2 2*V3)/4;
V5:= REF(V4,1);
RSA:SMA(MAX(V4-V5,0),2,1)/SMA(ABS(V4-V5),2,1)*100;
RSB:MA(RSA,10);
初升介入:IF(CROSS(RSA,RSB),50,0),STICK,LINETHICK2;
洗盘加仓:IF(CROSS(RSB,90),50,0),STICK,LINETHICK2;
DRAWTEXT(CROSS(RSA,RSB),-15,'初升介入'),COLOR00FF00;
DRAWTEXT(CROSS(RSB,90),-15,'洗盘加仓'),COLORWHITE;
-30;
㊣利多㊣抛吸       

 

AAA:=100-100*(HHV(HIGH,8)-CLOSE)/(HHV(HIGH,8)-LLV(LOW,8));
BBB:=100-100*(HHV(HIGH,42)-CLOSE)/(HHV(HIGH,42)-LLV(LOW,42));
DDD:=100-100*(HHV(HIGH,89)-CLOSE)/(HHV(HIGH,89)-LLV(LOW,89));
短:EMA(AAA,4),COLOR66DDDD;
中:EMA(BBB,4),COLOR00FF00;
长:EMA(DDD,4),COLOR6600FF;
短抛:IF(短>88,55,0),COLORWHITE,LINETHICK0;
中抛:IF(中>94,55,0),COLORYELLOW,LINETHICK0;
长抛:IF(长>98,55,0),COLORMAGENTA,LINETHICK0;
STICKLINE(短<4.10 ,25,0,3,0),COLORYELLOW;
STICKLINE(短>88 ,95,100,4,0),COLORWHITE;
STICKLINE(中>94 ,95,100,4,0),COLORYELLOW;
STICKLINE(长>98 ,95,100,4,0),COLORMAGENTA;
STICKLINE(长>=98 AND 中>=93 ,长,50,1,0), COLORYELLOW;
STICKLINE(长>=98 AND 中>=93,60,50,1,0),COLORRED;
STICKLINE(长<=2 AND 中<=2 AND 短<=5 , 长,50,1,0), COLORRED;
STICKLINE(长<=2 AND 中<=2 AND 短<=5 , 35,50,1,0),COLORYELLOW;
股价:=(CLOSE-LLV(LOW,360))/(HHV(HIGH,360)-LLV(LOW,360))*80;
AA:=EMA(股价,3); CC:=REF(EMA(股价,10),1);
STICKLINE(AA>=CC ,0,4,2,0),COLORYELLOW;
STICKLINE(AA<=CC ,0,4,2,0),COLORGRAY;
判顶
通达信.大智慧可用


VAR1:4*SMA((CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100,5,1)-
3*SMA(SMA((CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100,5,1),3.2,1),
COLORYELLOW,LINETHICK1;
VAR2:8,COLORBLUE;
上升在即: IF(CROSS(VAR1,VAR2),50,0),STICK,COLOR0000CC,LINETHICK2;
专吸庄血: IF(VAR1<=8,25,0),STICK,COLORWHITE,LINETHICK2;
DRAWICON(CROSS(VAR1,VAR2),8,1);
VARO5:=LLV(LOW,27);
VARO6:=HHV(HIGH,34);
VARO7:=EMA((CLOSE-VARO5)/(VARO6-VARO5)*4,4)*25;
建仓区: IF((VARO7<10),80,100) ,COLORBLUE;
0,LINETHICK2 ,COLORFFCC00;
DRAWICON(CROSS(100,VAR1),100,2);
DRAWICON((100-VAR1<3 AND 100-VAR1>0),100,2);
强弱分界线:55,LINESTICK,COLORBLUE;
DRAWTEXT(CROSS(VAR1,104),104,'◆'),COLORWHITE;
B1:=(HHV(H,9)-C)/(HHV(H,9)-LLV(LOW,9))*100- 70;
B2:=SMA(B1,9,1) 100;
B3:=(C-LLV(L,9))/(HHV(H,9)- LLV(L,9))*100;
B4:=SMA(B3,3,1);
B5:=SMA(B4,3,1) 100;
B6:=B5-B2;
B7:IF(B6>60,B6-60,0);
持有:STICKLINE(REF(B7,1)
A:0,POINTDOT,COLORRED,LINETHICK3;


(昊晨鬼变脸)
主图

VAR1:=CLOSE>REF(CLOSE,1) AND CLOSE>REF(CLOSE,2);
VAR2:=REF(VAR1,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR3:=REF(VAR2,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAR4:=REF(VAR3,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR5:=REF(VAR4,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAR6:=REF(VAR5,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR7:=REF(VAR6,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAR8:=REF(VAR7,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR9:=REF(VAR8,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VARA:=REF(VAR9,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VARB:=REF(VARA,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VARC:=REF(VARB,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
STICKLINE(VAR1 OR VAR2 OR VAR3 OR VAR4 OR VAR5 OR VAR6 OR VAR7 OR VAR8 OR VAR9 OR VARA OR VARB OR VARC,CLOSE,REF(CLOSE,1),3,0),COLORRED;
VARD:=CLOSE
VARE:=REF(VARD,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VARF:=REF(VARE,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR10:=REF(VARF,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAR11:=REF(VAR10,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR12:=REF(VAR11,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAR13:=REF(VAR12,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR14:=REF(VAR13,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAR15:=REF(VAR14,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR16:=REF(VAR15,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAR17:=REF(VAR16,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR18:=REF(VAR17,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
STICKLINE(VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 OR VAR14 OR VAR15 OR VAR16 OR VAR17 OR VAR18,CLOSE,REF(CLOSE,1),3,0),COLORYELLOW;
VAR19:=REF(VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 OR VAR14 OR VAR15 OR VAR16 OR VAR17 OR VAR18,1) AND VAR1;
STICKLINE(VAR19,REF(CLOSE,1),REF(CLOSE,2),3,0),COLORMAGENTA;
VAR1A:=REF(VAR1 OR VAR2 OR VAR3 OR VAR4 OR VAR5 OR VAR6 OR VAR7 OR VAR8 OR VAR9 OR VARA OR VARB OR VARC,1) AND VARD;
STICKLINE(VAR1A,REF(CLOSE,1),REF(CLOSE,2),3,0),COLOR008800;
RSV:=(CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
RSV24:=(CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100;
K24:=SMA(RSV24,3,1);
D24:=SMA(K24,3,1);
J24:=3*K24-2*D24;
压力位:IF(CROSS(J24,J),H,REF(H,BARSLAST(CROSS(J24,J)))),COLOR00FF33,LINETHICK1;
支撑位:IF(CROSS(J,J24),L,REF(L,BARSLAST(CROSS(J,J24)))),COLORCC33CC,LINETHICK1;
支撑价:LLV(LOW,23) ,COLOR7FFF00,LINETHICK2;
阻力价:HHV(HIGH,23),COLORFF9900, LINETHICK2;
A1:=BARSLAST(REF(CROSS("MACD.DIF","MACD.DEA"),1));
DRAWTEXT(REF(C,A1 1)>C AND REF("MACD.DIF",A1 1)<"MACD.DIF" AND CROSS("MACD.DIF","MACD.DEA")>0,L-0.02,'★M'),COLOR00FFFF;{MACD底背离}
A2:=BARSLAST(REF(CROSS("KDJ.K","KDJ.D"),1));
DRAWTEXT(REF(C,A2 1)>C AND REF("KDJ.K",A2 1)<"KDJ.K" AND CROSS("KDJ.K","KDJ.D"),L-0.10,'◎K'),COLORFF00FF;{KDJ底背离}
A3:=BARSLAST(REF(CROSS("RSI.RSI1","RSI.RSI2"),1));
DRAWTEXT(REF(C,A3 1)>C AND REF("RSI.RSI1",A3 1)<"RSI.RSI1" AND CROSS("RSI.RSI1","RSI.RSI2")>0,L-0.18,'◆R'),COLOR0000FF;{RSI底背离};
C1:=BARSLAST(REF(CROSS("MACD.DEA","MACD.DIF"),1));
DRAWTEXT(REF(C,C1 1)"MACD.DIF" AND CROSS("MACD.DEA","MACD.DIF")>0,H 0.16,'★M'),COLOR00FF00;{MACD顶背离};
C2:=BARSLAST(REF(CROSS("KDJ.D","KDJ.K"),1));
DRAWTEXT(REF(C,C2 1)"KDJ.K" AND CROSS("KDJ.D","KDJ.K")>0,H 0.08,'◎K'),COLORFFFFCC;{KDJ顶背离}
C3:=BARSLAST(REF(CROSS("RSI.RSI2","RSI.RSI1"),1));
DRAWTEXT(REF(C,C3 1)"RSI.RSI1" AND CROSS("RSI.RSI2","RSI.RSI1")>0,H 0.04,'◆R'),COLORFF9900;{RSI顶背离};


佚名     ( 主 )

VAR2:=(H L O 2*C)/5;
CHH低吸线:EMA(SLOPE(VAR2,21)*20 VAR2,55),CIRCLEDOT;
DRAWICON(REF(C,1)CHH低吸线,0.98*L,1);
DRAWICON(REF(C,1)>CHH低吸线 AND C
BB:=LLV(H,1);
神顶抄底逃顶线:FORCAST(FORCAST(BB,15),15), COLORYELLOW,LINETHICK2;
神顶逃顶抄底线:FORCAST(FORCAST(BB,25),25), COLORRED,LINETHICK2;
IF(SLOPE(神顶抄底逃顶线,2)>0,CHH低吸线,C),CIRCLEDOT,COLORFF00FF;
C,CIRCLEDOT,COLORBLUE;
{K线}
V2:=(C*2 H L)/4;
VAR3:=EMA(V2,3);
VAR4:=EMA(VAR3,6);
L1:=EMA(V2,3);
L2:=EMA(VAR3,4);
L3:=EMA(VAR4,5);
VAR5:=REF(L1,1)>L1 AND L1>L2;
STICKLINE(L1>=L2,H,L,1,0),COLORRED;
STICKLINE(L1
STICKLINE(L1>=L2,C,O,4,0),COLORRED;
STICKLINE(L1
STICKLINE(VAR5,H,L,1,0),COLORYELLOW;
STICKLINE(VAR5,C,O,4,0),COLORYELLOW;
{冰枫看盘}  


MA13: MA(CLOSE,13);
MA21: MA(CLOSE,21);
年线: MA(CLOSE,250);
底部线: EMA(COST(3.5),10);
s:=MA(VOL,5)/MA(VOL,60),colorred,,linethick2;
a:=ma(s,5),colorgreen,,linethick2;
BIAS:=(CLOSE-MA(CLOSE,5))/MA(CLOSE,5)*100;
f:=ma(s,121);
RSV:=(CLOSE-LLV(LOW,45))/(HHV(HIGH,45)-LLV(LOW,45))*100;
K:=SMA(RSV,15,1);
D:=SMA(K,15,1);
J:=3*K-2*D;
LC:=REF(CLOSE,1);
RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
DRAWTEXT(CROSS(84,RSI) , HIGH,'→ 逃顶 '),COLORYELLOW ;
DRAWTEXT(CROSS(RSI,11) , LOW,'→ 低吸 '),COLORRED ;
MID := MA(CLOSE,26);
UPPER:= MID 2*STD(CLOSE,26);
LOWER:= MID - 2*STD(CLOSE,26);
s1:=IF((j<11 and BIAS>-11 and cross( s,f) and (s-f)>0.010),2,0),stick,linethick3,colorgreen;
DRAWTEXT(s1=2,LOW,'→关注 '), colorgreen;
DRAWICON( FILTER(cross(s,a) and a<0.5 and j<20,13),LOW,1 );

{放量攻击----一品茶缘编写副图指标}
{N:5,60,34;}
{放量攻击指标使用说明:
量能饱和看股市,放量上涨要升值;
攻击凶猛防登顶,缩量小坑幸福池。}
A:=EMA(AMOUNT/C/1000000,7);
MID :=EMA(A,N);
UPPER:=MID 2*STD(A,N);
LOWER:=MID - 2*STD(A,N);
量能:(A-LOWER)/(UPPER-LOWER)*100,COLORFFFFFF;
放量:IF(CROSS(量能,70),70,50),COLOR00FF00;
↑:IF(CROSS(量能,50),1,0),COLORFF00FF;
攻击:IF(CROSS(量能,100),1,0),COLOR0000FF,POINTDOT,LINETHICK0;
缩量:IF(CROSS(30,量能),1,0),COLORFFFF00,POINTDOT,LINETHICK0;
{以下设置副图显示方式}
100,POINTDOT,COLORFF00FF;
70,COLORFFFFFF;
30,POINTDOT,COLORFFFFFF;
0,POINTDOT,COLORFF6600;
STICKLINE(量能>70,70,量能,4,0),COLOR00FFFF;
STICKLINE(量能>100,100,量能,4,0),COLOR0000FF;
STICKLINE(量能<30,30,量能,4,0),COLORFFFF00;
STICKLINE(量能<0,0,量能,4,0),COLOR00FF00;
DRAWTEXT(↑,50,'↑'),COLORFF00FF;
DRAWTEXT(攻击,70, '↑'),COLOR0000FF;
DRAWTEXT(缩量,30, '↓'),COLORFFFF00;
{一品【空中加油Z】----一品茶缘编写主图指标}
{指标使用方法:
1、启动跑道可关注,航空飞机安全行;空中加油等买票,加速远航好收益!
2、启动时间长又长,航天飞机要远航!
3、启动时间长,均线越顺畅;航天飞机快,登上要坐好!}

MA5:MA(CLOSE,5);
MA10:MA(CLOSE,10);
MA20:MA(CLOSE,20);
MA30:MA(CLOSE,30);
MA250:MA(CLOSE,250),COLORRED;
N1:=BARSLAST(CROSS(MA5,MA10));
N2:=BARSLAST(CROSS(MA10,MA5));
多:=IF(N1
空:=IF(N2
QSXS:=MA5>MA20 AND MA10>MA20 AND MA20>REF(MA20,1) AND MA30>REF(MA30,1);
启动:=多*QSXS,COLORRED,LINETHICK0;
跑道:=空*QSXS,COLORFFFF00,LINETHICK0;
HKFJ:=HHV(多,5)>=2 AND QSXS AND MA5>REF(MA5,1) AND MA5>MA10;
航空飞机:=HKFJ*多,COLORFF00FF,LINETHICK2;
HKSJ:=BARSLAST(航空飞机>0 AND NOT(REF(航空飞机,1))) 1;
高度:=(C/REF(C,HKSJ)-1)*100,COLOR00FFFF;
空中加油:=启动>0 AND 航空飞机=0,COLOR00FF00,POINTDOT,LINETHICK0;
N3:=BARSLAST(空中加油) 1;
K5:=ATAN((MA5/REF(MA5,1)-1)*100)*180/3.14159;
JXGD1:=K5>REF(K5,1) AND REF(K5,1)
JXGD2:=MA5>REF(MA5,1) AND REF(MA5,1)
加速远航:=FILTER((JXGD1 OR JXGD2) AND C>MA5 AND HKFJ,3),COLOR00FFFF,POINTDOT,LINETHICK0;
N4:=BARSLAST(加速远航);

{以下设置主图显示方式}
STICKLINE(空中加油,(O C)/2-0.01,(O C)/2 0.01,4,0),COLOR00FF00;
STICKLINE(空中加油,L,H,1,1),COLOR00FF00;
STICKLINE(加速远航,(O C)/2-0.01,(O C)/2 0.01,4,0),COLOR00FFFF;
STICKLINE(加速远航,L,H,1,1),COLOR00FFFF;
STICKLINE(N4>0 AND N4<=5,REF(O,N4 1),REF(O,N4 1),4,1),COLORFFFFFF;
DRAWTEXT(加速远航,L,'加▲速'),COLOR00FFFF;
DRAWTEXT(航空飞机,MA30,'○'),COLORFFFFFF;
DRAWTEXT(空中加油,MA30,'□'),COLOR00FF00;

 

 

 

{一品【空中加油】----一品茶缘编写副图指标}
{指标使用方法:
1、启动跑道可关注,航空飞机安全行;空中加油等买票,加速远航好收益!
2、启动时间长又长,航天飞机要远航!
3、启动时间长,均线越顺畅;航天飞机快,登上要坐好!}

MA5:=MA(CLOSE,5);
MA10:=MA(CLOSE,10);
MA20:=MA(CLOSE,20);
MA30:=MA(CLOSE,30);
MA250:=MA(CLOSE,250),COLORRED;
N1:=BARSLAST(CROSS(MA5,MA10));
N2:=BARSLAST(CROSS(MA10,MA5));
多:=IF(N1
空:=IF(N2
QSXS:=MA5>MA20 AND MA10>MA20 AND MA20>REF(MA20,1) AND MA30>REF(MA30,1);
启动:多*QSXS,COLORRED,LINETHICK0;
跑道:空*QSXS,COLORFFFF00,LINETHICK0;
HKFJ:=HHV(多,5)>=2 AND QSXS AND MA5>REF(MA5,1) AND MA5>MA10;
航空飞机:HKFJ*多,COLORFF00FF,LINETHICK2;
HKSJ:=BARSLAST(航空飞机>0 AND NOT(REF(航空飞机,1))) 1;
高度:(C/REF(C,HKSJ)-1)*100,COLOR00FFFF;
空中加油:启动>0 AND 航空飞机=0,COLOR00FF00,POINTDOT,LINETHICK0;
N3:=BARSLAST(空中加油) 1;
K5:=ATAN((MA5/REF(MA5,1)-1)*100)*180/3.14159;
JXGD1:=K5>REF(K5,1) AND REF(K5,1)
JXGD2:=MA5>REF(MA5,1) AND REF(MA5,1)
加速远航:FILTER((JXGD1 OR JXGD2) AND C>MA5 AND HKFJ,3),COLOR00FFFF,POINTDOT,LINETHICK0;
N4:=BARSLAST(加速远航);

{以下设置副图显示方式}
STICKLINE(空中加油,0,启动/10 1,4,1),COLOR00FF00;
STICKLINE(N4>0 AND N4<=5,REF(启动,N4 1),REF(启动,N4 1),4,0),COLORFFFFFF;
DRAWTEXT(加速远航,启动,'▲'),COLOR00FFFF;
{五线布林Z----一品茶缘编写精品指标主图}
{N:1,10,5;参数N表示步林口上下轨之间的最小差距;}
{五线布林Z指标使用方法:
一品五线变布林,开合趋势真分明;
突破上轨拉升快,回归中轨反弹轻。}
N1:=10;P1:=3;
BBI:=(MA(CLOSE,3) MA(CLOSE,6) MA(CLOSE,12) MA(CLOSE,24))/4;
上:BBI P1*STD(BBI,N1),COLORYELLOW;
IF(BBI*1.15>上*1.03,上*1.06,上*1.03),COLOR0000FF,POINTDOT,LINETHICK0;
下:BBI-P1*STD(BBI,N1),COLORFF00FF;
中:BBI,COLORWHITE;
AA:BBI P1*STD(BBI,N1)/2,COLOR88FF88;
BB:BBI-P1*STD(BBI,N1)/2,COLOR88FF88;
MA30:MA(C,30),POINTDOT,COLOR00FF00;
QSXS1:=AA>REF(AA,1) AND BBI>REF(BBI,1);
QSXS2:=COUNT(MA30>REF(MA30,1),5)=5;
FLSZ:=C>O AND V>REF(V,1);
RMG:=FLSZ AND (C/REF(C,1)-1)*100>=2;
SCAA:=CROSS(C,AA) OR (OAA);
BLK:=LLV((上-下),2)=LLV((上-下),10);
XBLK:=(上/下-1)*100<=N;
BLKSJ:=BARSLAST(BLK) 1;
拉升:FILTER(SCAA AND FLSZ AND (QSXS1 OR (QSXS2 AND BLKSJ<5)),3),COLORFF00FF,POINTDOT,LINETHICK0;
优选:拉升 AND COUNT(XBLK,4)>=1 AND RMG,COLOR00FF00,POINTDOT,LINETHICK0;
XZF:=(C/REF(C,1)-1)*100<=1;
XPL:=ABS(C-BBI)/BBI*100<=2 OR ABS(l-BBI)/BBI*100<=2;
回:COUNT(QSXS1,8)>=6 AND XZF AND XPL,COLORFFFFFF,POINTDOT,LINETHICK0;
{以下设置主图显示方式}
STICKLINE(拉升,(O C)/2,(O C)/2,4,0),COLORFF00FF;
STICKLINE(拉升,H,L,0,1),COLORFF00FF;
DRAWTEXT(拉升,L*0.99,'◆'),COLORFF00FF;
DRAWTEXT(回,L*0.99,'回'),COLORFFFFFF;
DRAWTEXT(XBLK,BBI*1.01,'口'),COLOR00FF00;
STICKLINE(优选,H,L,1,0),COLORFF00FF;
DRAWICON(优选,L*0.99,1);
高:=((H/BBI-1)*100>=15 AND (H/上-1)*100>=3) OR (H/上-1)*100>=6;
STICKLINE(高,H*1.01,H*1.02,4,0),COLOR00FFFF;
{五线布林Z----一品茶缘编写精品指标主图}
{N:1,10,5;参数N表示步林口上下轨之间的最小差距;}
{五线布林Z指标使用方法:
一品五线变布林,开合趋势真分明;
突破上轨拉升快,回归中轨反弹轻。}
N1:=10;P1:=3;
BBI:=(MA(CLOSE,3) MA(CLOSE,6) MA(CLOSE,12) MA(CLOSE,24))/4;
上:BBI P1*STD(BBI,N1),COLORYELLOW;
IF(BBI*1.15>上*1.03,上*1.06,上*1.03),COLOR0000FF,POINTDOT,LINETHICK0;
下:BBI-P1*STD(BBI,N1),COLORFF00FF;
中:BBI,COLORWHITE;
AA:BBI P1*STD(BBI,N1)/2,COLOR88FF88;
BB:BBI-P1*STD(BBI,N1)/2,COLOR88FF88;
MA30:MA(C,30),POINTDOT,COLOR00FF00;
QSXS1:=AA>REF(AA,1) AND BBI>REF(BBI,1);
QSXS2:=COUNT(MA30>REF(MA30,1),5)=5;
FLSZ:=C>O AND V>REF(V,1);
RMG:=FLSZ AND (C/REF(C,1)-1)*100>=2;
SCAA:=CROSS(C,AA) OR (OAA);
BLK:=LLV((上-下),2)=LLV((上-下),10);
XBLK:=(上/下-1)*100<=N;
BLKSJ:=BARSLAST(BLK) 1;
拉升:FILTER(SCAA AND FLSZ AND (QSXS1 OR (QSXS2 AND BLKSJ<5)),3),COLORFF00FF,POINTDOT,LINETHICK0;
优选:拉升 AND COUNT(XBLK,4)>=1 AND RMG,COLOR00FF00,POINTDOT,LINETHICK0;
XZF:=(C/REF(C,1)-1)*100<=1;
XPL:=ABS(C-BBI)/BBI*100<=2 OR ABS(l-BBI)/BBI*100<=2;
回:COUNT(QSXS1,8)>=6 AND XZF AND XPL,COLORFFFFFF,POINTDOT,LINETHICK0;
{以下设置主图显示方式}
STICKLINE(拉升,(O C)/2,(O C)/2,4,0),COLORFF00FF;
STICKLINE(拉升,H,L,0,1),COLORFF00FF;
DRAWTEXT(拉升,L*0.99,'◆'),COLORFF00FF;
DRAWTEXT(回,L*0.99,'回'),COLORFFFFFF;
DRAWTEXT(XBLK,BBI*1.01,'口'),COLOR00FF00;
STICKLINE(优选,H,L,1,0),COLORFF00FF;
DRAWICON(优选,L*0.99,1);
高:=((H/BBI-1)*100>=15 AND (H/上-1)*100>=3) OR (H/上-1)*100>=6;
STICKLINE(高,H*1.01,H*1.02,4,0),COLOR00FFFF;
{RSV共振----一品茶缘副图}
{P1:5,250,8;P2:5,250,13;P3:5,250,21;P4:5,250,34;----短线参数组合:8132134;中线参数组合6090120250。}
{指标使用方法:重点关注长期横盘后出现的三强 优选信号,同时出现三合更佳。}

RSV:(CLOSE-LLV(LOW,P1))/(HHV(HIGH,P1)-LLV(LOW,P1))*100;
RSV1:(CLOSE-LLV(LOW,P2))/(HHV(HIGH,P2)-LLV(LOW,P2))*100;
RSV2:(CLOSE-LLV(LOW,P3))/(HHV(HIGH,P3)-LLV(LOW,P3))*100;
RSV3:(CLOSE-LLV(LOW,P4))/(HHV(HIGH,P4)-LLV(LOW,P4))*100;
ZH01:=ABS(RSV-RSV1)/RSV1<0.03;
ZH02:=ABS(RSV-RSV2)/RSV2<0.03;
ZH03:=ABS(RSV-RSV3)/RSV3<0.03;
ZH12:=ABS(RSV1-RSV2)/RSV2<0.03;
ZH13:=ABS(RSV1-RSV3)/RSV3<0.03;
ZH23:=ABS(RSV2-RSV3)/RSV3<0.03;
SXHY:=(ZH01 ZH02 ZH03 ZH12 ZH13 ZH23)>=3;
三合:IF(SXHY,55,50),COLORFFFFFF;
GX:=MAX(MAX(RSV,RSV1),MAX(RSV,RSV1));
BDGD:=GX=HHV(GX,60);
GDSJ:=BARSLAST(BDGD);
QD0:=CROSS(RSV,50);
QD1:=CROSS(RSV1,50);
QD2:=CROSS(RSV2,50);
QD3:=CROSS(RSV3,50);
SXQD:=(QD0 QD1 QD2 QD3)>=3;
三启:IF(SXQD AND GDSJ>=5,70,50),COLOR00FF00;
TP0:=CROSS(RSV,80);
TP1:=CROSS(RSV1,80);
TP2:=CROSS(RSV2,80);
TP3:=CROSS(RSV3,80);
SXTP:=(TP0 TP1 TP2 TP3)>=3;
三强:IF(SXTP AND (GDSJ>=5 OR COUNT(GX<80,30)>=20),80,100),COLOR00FFFF;
优选:IF(三强=80 AND COUNT(GX<80,30)>=20,80,50),COLORFF00FF;
{以下设置副图显示方式}
stickline(三合=55,50,55,4,1),COLORFFFFFF;
stickline(三合=55,50,45,4,1),COLOR00FF00;
stickline(三启=70,50,70,4,0),COLOR00FF00;
stickline(三强=80,50,80,4,0),COLOR00FFFF;
50,COLOR0000FF;
80,COLORFF00FF,POINTDOT;
DRAWICON(优选=80,55,1);
 

通达信主副图指标集锦(一) - 好地方 - 好地方

  评论这张
 
阅读(1)| 评论(0)
推荐 转载

历史上的今天

在LOFTER的更多文章

评论

<#--最新日志,群博日志--> <#--推荐日志--> <#--引用记录--> <#--博主推荐--> <#--随机阅读--> <#--首页推荐--> <#--历史上的今天--> <#--被推荐日志--> <#--上一篇,下一篇--> <#-- 热度 --> <#-- 网易新闻广告 --> <#--右边模块结构--> <#--评论模块结构--> <#--引用模块结构--> <#--博主发起的投票-->
 
 
 
 
 
 
 
 
 
 
 
 
 
 

页脚

网易公司版权所有 ©1997-2017