马上注册,享用更多功能,让你轻松玩转本论坛。
您需要 登录 才可以下载或查看,没有账号?立即注册
×
LZYNAINFO(3)*1,COLORFFFF00,POINTDOT;
LC:=REF(CLOSE,1);
RSI1:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*2;
RSI2:=SMA(MAX(CLOSE-LC,0),12,1)/SMA(ABS(CLOSE-LC),12,1)*2;
RSI3:=SMA(MAX(CLOSE-LC,0),24,1)/SMA(ABS(CLOSE-LC),24,1)*2;
AA1:IF(RSI1<RSI2 OR RSI1<RSI3 OR RSI2<RSI3,RSI3,RSI1)+LZ,COLORRED;
AA2:IF(RSI1<RSI2 OR RSI1<RSI3 OR RSI2<RSI3,RSI3,RSI2)+LZ,COLORYELLOW;
AA3:RSI3+LZ,COLORBLUE;
DRAWBAND(AA1,RGB(180,0,0),AA3,RGB(0,0,0));
DRAWBAND(AA2,RGB(180,190,0),AA3,RGB(0,0,0));
STICKLINE(AA1>AA3,LZ,LZ*1.002,5,0),COLOR00FF00;
STICKLINE(AA1>AA3,LZ,LZ*0.998,5,0),COLORFF00FF;
AAB:=AA1>AA3 AND C>=O;
BBBB:=AA1>AA3 AND C<O;
DDB:=AA1=AA3 AND C>=O;
EEB:=AA1=AA3 AND C<O;
STICKLINE(AAB,C,O,3.4,0),COLOR000088;
STICKLINE(AAB,C,O,3.0,0),COLOR000099 ;
STICKLINE(AAB,C,O,2.4,0),COLOR0000AA;
STICKLINE(AAB,C,O,2.0,0),COLOR0000BB ;
STICKLINE(AAB,C,O,1.2,0),COLOR0000DD;
STICKLINE(AAB,C,O,0.6,0),COLOR0000EE;
STICKLINE(AAB,H,L,0,0),COLOR0000FF;
STICKLINE(BBBB,C,O,3.4,0),COLOR008888;
STICKLINE(BBBB,C,O,3.0,0),COLOR009999;
STICKLINE(BBBB,C,O,2.4,0),COLOR00AAAA;
STICKLINE(BBBB,C,O,2.0,0),COLOR00BBBB;
STICKLINE(BBBB,C,O,1.2,0),COLOR00DDDD;
STICKLINE(BBBB,C,O,0.6,0),COLOR00EEEE;
STICKLINE(BBBB,H,L,0,0),COLOR00FFFF;
STICKLINE(DDB,C,O,3.4,0),COLOR880088;
STICKLINE(DDB,C,O,3.0,0),COLOR990099;
STICKLINE(DDB,C,O,2.4,0),COLORAA00AA;
STICKLINE(DDB,C,O,2.2,0),COLORBB00BB;
STICKLINE(DDB,C,O,1.2,0),COLORDD00DD;
STICKLINE(DDB,C,O,0.6,0),COLOREE00EE;
STICKLINE(DDB,H,L,0,0),COLORFF00FF;
STICKLINE(EEB,C,O,3.4,0),COLOR888800;
STICKLINE(EEB,C,O,2.8,0),COLOR999900;
STICKLINE(EEB,C,O,2.2,0),COLORAAAA00;
STICKLINE(EEB,C,O,1.2,0),COLORCCCC00;
STICKLINE(EEB,C,O,0.6,0),COLORFFFF00;
STICKLINE(EEB,H,L,0,0),COLORFFFF00;
DRAWTEXT_FIX(1,0.05,0.0,0,'【彩色K线】★★红色--火山喷发阳线★★黄色--火山喷发阴线
★★粉色--火山平息阳线★★青色--火山平息阴线★★ '),COLORFFFF00;
补充内容 (2014-11-30 20:47):
你们用个吧
M:=1.04;
DRAWBAND(MA(C,60),RGB(120,0,0),MA(C,120),RGB(0,0,200));
DRAWKLINE(H,O,L,C);
MA5:MA(CLOSE,5);
MA10:MA(CLOSE,10);
MA20:MA(CLOSE,20);
MA60:MA(CLOSE,60);
MA120:MA(CLOSE,120);
MA13:=MA(CLOSE,13);
MA34:=MA(CLOSE,34);
MA55:=MA(CLOSE,55);
{涨跌停}
STICKLINE(C>1.097*REF(C,1),C,O,2.8,0)COLORRED;
STICKLINE(C<0.907*REF(C,1),C,O,2.8,0)COLORGREEN;
YY1:=O<MA13 AND C>MA13;
YY2:=O<MA34 AND C>MA34;
YY3:=O<MA55 AND C>MA55;
YY4:=C/O>=M;
YY5:=V>HHV(H,10);
YY6:=MA13>=REF(MA13,1);
AQ:=YY1 AND YY2 AND YY3 AND YY4 AND YY5 AND YY6;
DRAWBMP(AQ,L,'B');
半分位:=(O+C)/2;
DRAWTEXT(AQ,半分位,'—————————————————止损线'),COLORYELLOW;
|