红剑核心主图指标 (源码)

2011-08-29 09:01:00来源:本站整理浏览:156

VAR1:=(100 - ((90 * (HHV(HIGH,21) - CLOSE)) / (HHV(HIGH,21) - LLV(LOW,21))));
VAR2:=(100 - ((90 * (HHV(HIGH,21) - CLOSE)) / (HHV(HIGH,21) - LLV(LOW,21))));
VAR3:=(100 - MA(((100 * (HHV(HIGH,6) - CLOSE)) / (HHV(HIGH,6) - LLV(LOW,6))),34));
DRAWICON(CROSS(VAR2,MA(VAR3,6)),(LOW * 0.998),8);
DRAWICON(CROSS(MA(VAR3,6),VAR1),(HIGH * 1.013),9);
DRAWTEXT(CROSS(VAR2,MA(VAR3,6)),(LOW * 0.984),'B '),COLOR4440FF;
DRAWTEXT(CROSS(MA(VAR3,6),VAR1),(HIGH * 1.035),'S '),COLORFFFF34;
年:MA(CLOSE,26),COLOR00FF00,LINETHICK2;
STICKLINE(C>=年 AND C>=O,C,O,7,0),COLORRED;
STICKLINE(C>=年 AND C>=O,H,L,0,0),COLORRED;
STICKLINE(C>=年 AND C<O,C,O,7,1),COLORRED;
STICKLINE(C>=年 AND C<O,O,H,0,0),COLORRED;
STICKLINE(C>=年 AND C<O,C,L,0,0),COLORRED;
STICKLINE(C<年 AND C>O,C,O,7,1),COLORFFFF00;
STICKLINE(C<年 AND C<=O,C,O,7,1),COLORFFFF00;
STICKLINE(C<年 AND C<=O,H,L,0,1),COLORFFFF00;
STICKLINE(C<年 AND C>O,C,H,0,1),COLORFFFF00;
STICKLINE(C<年 AND C>O,O,L,0,1),COLORFFFF00;
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+0.05,'逃 ▼顶 '),COLORYELLOW ;
DRAWTEXT(CROSS(RSI,11) , LOW-0.05,' 低 ▲吸 '),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;
{www.gpxiazai.com 股票软件下载网_最新股票指标公式}
DRAWTEXT(S1=2,LOW-0.05,'关 ▲注 '), COLORBLUE;
DRAWICON( FILTER(CROSS(S,A) AND A<0.5 AND J<20,13),LOW,1 );
MA3:MA(CLOSE,3),COLORFFFFFF,LINETHICK1;
MA8:MA(CLOSE,8),COLOR00FFFF,LINETHICK1;
MA1000:MA(CLOSE,1000),COLORF00FF0,LINETHICK1;
MA2000:MA(CLOSE,2000),COLOR00FF00,LINETHICK1;
MA2500:MA(CLOSE,2500),COLOR00FFFF,LINETHICK1;
ANGEL:EMA(C,2),COLOR000000;
DEVIL:EMA(SLOPE(C,21)*20+C,42),POINTDOT,COLOR000000;
BUY:=CROSS(ANGEL,DEVIL);
SEL:=CROSS(DEVIL,ANGEL);
DRAWTEXT(BUY,LOW*0.98,'A买'),COLORF00FF0,LINETHICK2;
DRAWTEXT(SEL,HIGH*1.02,'V卖'),COLOR00FF00,LINETHICK2;
STICKLINE((OPEN >= CLOSE),CLOSE,OPEN,9,0),COLORFF5B00;
STICKLINE((OPEN >= CLOSE),CLOSE,OPEN,8,0),COLORFF6C00;
STICKLINE((OPEN >= CLOSE),CLOSE,OPEN,7,0),COLORFF7B00;
STICKLINE((OPEN >= CLOSE),CLOSE,OPEN,6,0),COLORFF9C00;
STICKLINE((OPEN >= CLOSE),CLOSE,OPEN,5,0),COLORFFBE00;
STICKLINE((OPEN >= CLOSE),CLOSE,OPEN,3.5,0),COLORFFCC00;
STICKLINE((OPEN >= CLOSE),CLOSE,OPEN,1.5,0),COLORFFFF00;
STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,9,0),COLOR070084;
STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,8,0),COLOR0000A3;
STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,7,0),COLOR0000B7;
STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,6,0),COLOR0000CD;
STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,5,0),COLOR0000E9;
STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,3,0),COLOR0754E9;
STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,1.5,0),COLOR076EF3;
STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,1,0),COLOR077BF3;
STICKLINE((CLOSE > OPEN),OPEN,LOW,1,0),COLOR0726CA;
STICKLINE((CLOSE > OPEN),CLOSE,HIGH,1,0),COLOR0726CA;
STICKLINE((OPEN > CLOSE),CLOSE,LOW,1,0),COLORDE9100;
STICKLINE((OPEN > CLOSE),OPEN,HIGH,1,0),COLORDE9100;

通达信红剑核心主图指标公式

股票公式栏目导航

精品指标推荐

最新热门

本类随机推荐

相关公式