自建绝佳主图
2014-11-20 13:33:09点击:
箱底箱顶,压力支撑,一目了然,希望能帮到你赚钱
涨停双阳:=C>OPEN AND REF(C,1)>REF(OPEN,1) AND REF(C,2)/REF(C,3)>1.09 AND C/REF(C,1)<1.099 ;
DRAWTEXT(涨停双阳,C,'空中加油');
顶:MA(HHV(REF(C,1),30),2),colorred,;
底:MA(LLV(REF(C,1),30),2),colorblue;
中:(顶+底)/2,colorwhite;
MA3:MA(C,n),coloryellow;
//HHJSJDA:=(3*CLOSE+OPEN+LOW+HIGH)/6;
/*HHJSJDB:(20*HHJsjda+19*REF(HHJsjda,1)+18*REF(HHJsjda,2)
+17*REF(HHJsjda,3 )+16*REF(HHJsjda,4)+15*REF(HHJsjda,5)+14*REF(HHJsjda,6)
+13*REF(HHJsjda,7)+12*REF(HHJsjda,8)+11*REF(HHJsjda,9)
+10*REF(HHJsjda,10 )+9*REF(HHJsjda,11)+8*REF(HHJsjda,12)
+7*REF(HHJsjda,13)+6*REF(HHJsjda,14)+5*REF(HHJsjda,15)
+4*REF(HHJsjda,16) +3*REF(HHJsjda,17)+2*REF(HHJsjda,18)
+ REF(HHJsjda,20))/210,coloryellow;
HHJSJDC:=MA(HHJSJDB,5),colorred;
*/
MA13:MA(C,13),colorred;
牛熊线:EXPMA(C,30),colorred;
STICKLINE( PERIODNAME=="日线" AND C/REF(C,1)>1.09 ,OPEN,C,8,0),coloryellow;
DRAWTEXT(CROSS(顶,C),H*1.02,'S'),coloryellow;
//准备赚钱买入信号
LC:=REF(CLOSE,1);
RSI5:=((SMA(MAX((CLOSE - LC),0),5,1) / SMA(ABS((CLOSE - LC)),5,1)) * 100);
VARR1:=SMA(MAX(CLOSE-REF(C,1),0),12,1)/SMA(ABS(CLOSE-REF(C,1)),15,1)*100;
TR1:=SUM(MAX(MAX((HIGH - LOW),ABS((HIGH - REF(CLOSE,1)))),ABS((LOW - REF(CLOSE,1)))),10);
HD:=(HIGH - REF(HIGH,1));
LD:=(REF(LOW,1) - LOW);
DMP:=SUM(IF(((HD > 0) AND (HD > LD)),HD,0),10);
DMM:=SUM(IF(((LD > 0) AND (LD > HD)),LD,0),10);
PDI:=((DMP * 100) / TR1);
MDI:=((DMM * 100) / TR1);
ADX:=MA(((ABS((MDI - PDI)) / (MDI + PDI)) * 100),5);
AV:=(RSI5 + ADX);
DXR:=(((ADX + REF(ADX,5)) / 2) + RSI5);
WR10:=((100 * (HHV(HIGH,10) - CLOSE)) / (HHV(HIGH,10) - LLV(LOW,10)));
NEWVOL:=(RSI5 - WR10);
准备赚钱:=(AV + NEWVOL);
DRAWTEXT( CROSS(准备赚钱,0),L*0.96,'赚钱'),coloryellow;
DRAWICON( CROSS(准备赚钱,0),L*0.99,5);
DRAWTEXT(CROSS(82,VARR1),H*1.02,'走人'),coloryellow;
DRAWICON( CROSS(82,VARR1),H,2);
涨停双阳:=C>OPEN AND REF(C,1)>REF(OPEN,1) AND REF(C,2)/REF(C,3)>1.09 AND C/REF(C,1)<1.099 ;
DRAWTEXT(涨停双阳,C,'空中加油');
顶:MA(HHV(REF(C,1),30),2),colorred,;
底:MA(LLV(REF(C,1),30),2),colorblue;
中:(顶+底)/2,colorwhite;
MA3:MA(C,n),coloryellow;
//HHJSJDA:=(3*CLOSE+OPEN+LOW+HIGH)/6;
/*HHJSJDB:(20*HHJsjda+19*REF(HHJsjda,1)+18*REF(HHJsjda,2)
+17*REF(HHJsjda,3 )+16*REF(HHJsjda,4)+15*REF(HHJsjda,5)+14*REF(HHJsjda,6)
+13*REF(HHJsjda,7)+12*REF(HHJsjda,8)+11*REF(HHJsjda,9)
+10*REF(HHJsjda,10 )+9*REF(HHJsjda,11)+8*REF(HHJsjda,12)
+7*REF(HHJsjda,13)+6*REF(HHJsjda,14)+5*REF(HHJsjda,15)
+4*REF(HHJsjda,16) +3*REF(HHJsjda,17)+2*REF(HHJsjda,18)
+ REF(HHJsjda,20))/210,coloryellow;
HHJSJDC:=MA(HHJSJDB,5),colorred;
*/
MA13:MA(C,13),colorred;
牛熊线:EXPMA(C,30),colorred;
STICKLINE( PERIODNAME=="日线" AND C/REF(C,1)>1.09 ,OPEN,C,8,0),coloryellow;
DRAWTEXT(CROSS(顶,C),H*1.02,'S'),coloryellow;
//准备赚钱买入信号
LC:=REF(CLOSE,1);
RSI5:=((SMA(MAX((CLOSE - LC),0),5,1) / SMA(ABS((CLOSE - LC)),5,1)) * 100);
VARR1:=SMA(MAX(CLOSE-REF(C,1),0),12,1)/SMA(ABS(CLOSE-REF(C,1)),15,1)*100;
TR1:=SUM(MAX(MAX((HIGH - LOW),ABS((HIGH - REF(CLOSE,1)))),ABS((LOW - REF(CLOSE,1)))),10);
HD:=(HIGH - REF(HIGH,1));
LD:=(REF(LOW,1) - LOW);
DMP:=SUM(IF(((HD > 0) AND (HD > LD)),HD,0),10);
DMM:=SUM(IF(((LD > 0) AND (LD > HD)),LD,0),10);
PDI:=((DMP * 100) / TR1);
MDI:=((DMM * 100) / TR1);
ADX:=MA(((ABS((MDI - PDI)) / (MDI + PDI)) * 100),5);
AV:=(RSI5 + ADX);
DXR:=(((ADX + REF(ADX,5)) / 2) + RSI5);
WR10:=((100 * (HHV(HIGH,10) - CLOSE)) / (HHV(HIGH,10) - LLV(LOW,10)));
NEWVOL:=(RSI5 - WR10);
准备赚钱:=(AV + NEWVOL);
DRAWTEXT( CROSS(准备赚钱,0),L*0.96,'赚钱'),coloryellow;
DRAWICON( CROSS(准备赚钱,0),L*0.99,5);
DRAWTEXT(CROSS(82,VARR1),H*1.02,'走人'),coloryellow;
DRAWICON( CROSS(82,VARR1),H,2);