自制买卖线 同花顺指标 源码 贴图 严格控制止损比例

2018-09-17 09:33:00来源:本站整理浏览:693

 5-10线可看好,20线上可持有,严格控制止损比例。

N:=5;

MA5:MA(CLOSE,5),COLORFBFBFB;
MA10:MA(CLOSE,10),COLOR06FFFF;
MA20:MA(CLOSE,20),COLORFF80FB;
MA60:MA(CLOSE,60),COLORF4E202;
MA120:MA(CLOSE,120),COLORE19800;
byx:MA(CLOSE,5),COLORFBFBFB;
REF2:REF(byx,1),color0321e2;
//MA5:MA(CLOSE,5),COLORFAFAFA;
//MA10:MA(CLOSE,10),COLOR00FFFF;
MA20:MA(CLOSE,20),COLORFF00FF;
//MA60:MA(CLOSE,60),COLOR00FF00;
//MA120:MA(CLOSE,120),COLORC0C0C0;
黄昏之星:=((((((REF(CLOSE,2) / REF(OPEN,2)) > 1.03) AND (REF(OPEN,1) >
REF(CLOSE,2))) AND ((ABS((REF(OPEN,1) - REF(CLOSE,1))) /
REF(CLOSE,1)) < 0.02)) AND ((CLOSE / OPEN) < 0.97)) AND (CLOSE <REF(CLOSE,2)));
射击之星:=(((MIN(OPEN,CLOSE) = LOW) AND ((HIGH - LOW) > (3 *
(MAX(OPEN,CLOSE) - LOW)))) AND (CLOSE > MA(CLOSE,5)));
锤头:=(((HIGH = MAX(OPEN,CLOSE)) AND ((HIGH - LOW) > (3 * (HIGH -
MIN(OPEN,CLOSE))))) AND (CLOSE < MA(CLOSE,5)));
吊颈:=(( (HIGH = MAX(OPEN,CLOSE)) AND ((HIGH - LOW) > (3 * (HIGH -
MIN(OPEN,CLOSE))))));
穿头破脚:=((((((REF(CLOSE,1) / REF(OPEN,1)) > 1.03) AND ((CLOSE / OPEN)
< 0.96)) AND (CLOSE < REF(OPEN,1))) AND (OPEN > REF(CLOSE,1))) OR
(((((REF(CLOSE,1) / REF(OPEN,1)) < 0.97) AND ((CLOSE / OPEN) >
1.04)) AND (CLOSE > REF(OPEN,1))) AND (OPEN < REF(CLOSE,1))));
身怀六甲:=(((((ABS((REF(CLOSE,1) - REF(OPEN,1))) / REF(CLOSE,1)) > 0.04)
AND ((ABS((CLOSE - OPEN)) / CLOSE) < 0.005)) AND (MAX(CLOSE,OPEN) <
MAX(REF(CLOSE,1),REF(OPEN,1)))) AND (MIN(CLOSE,OPEN) > MIN(REF(CLOSE,1),REF(OPEN,1))));
乌云盖顶:=(((((REF(CLOSE,1) / REF(OPEN,1)) > 1.03) AND ((CLOSE / OPEN) <
0.97)) AND (OPEN > REF(CLOSE,1))) AND (CLOSE < REF(CLOSE,1)));
曙光初现:=(((((REF(CLOSE,1) / REF(OPEN,1)) < 0.97) AND ((CLOSE / OPEN) >
1.03)) AND (OPEN < REF(CLOSE,1))) AND (CLOSE > REF(CLOSE,1)));
倾盆雨:=(((((REF(CLOSE,1) / REF(OPEN,1)) >= 1.03) AND (OPEN <
REF(CLOSE,1))) AND (OPEN > REF(OPEN,1))) AND (CLOSE < REF(OPEN,1)));
DRAWTEXT(倾盆雨,H*1.03,'倾'),;
DRAWTEXT(黄昏之星,H*1.02,'黄'),;
DRAWTEXT(射击之星,H*1.03,'射'),;
DRAWTEXT(锤头,L-L*0.02,'锤'),colorgreen;
DRAWTEXT(吊颈,H*1.03,'吊'),;
DRAWTEXT(穿头破脚,H*1.05,'穿'),;
DRAWTEXT(乌云盖顶,H*1.03,'乌'),;
DRAWTEXT(曙光初现,L-L*0.02,'曙'),colorgreen;
DRAWTEXT(身怀六甲,L-L*0.02,'身'),colorgreen;
A7:=C-REF(C,1);
A8:=100*EMA(EMA(A7,6),6)/EMA(EMA(ABS(A7),6),6);
买:=LLV(A8,2)=LLV(A8,7) AND COUNT(A8<0,2) AND CROSS(A8,MA(A8,2));
DRAWTEXT(FILTER(买=1,5),LOW-0.05,' '),coloryellow;//↖
STICKLINE(买,OPEN,CLOSE,2,0),coloryellow;
STICKLINE(LOW>REF(HIGH,1),REF(HIGH,1),LOW,8,0),colora0a0a0;
STICKLINE(HIGH<REF(LOW,1),REF(LOW,1),HIGH,8,0),colora0a0a0;
//STICKLINE(CLOSE=HIGH AND C>=1.099033*REF(C,1),O,C,10,0),colorred;
//STICKLINE(CLOSE=LOW AND C<=0.900967*REF(C,1),O,C,10,0),colorgreen;
//STICKLINE(CLOSE=HIGH AND (C>=1.099033*REF(C,1) OR (C<1.05085*REF(C,1) AND C>=1.0495165*REF (C,1))),O,C,10,0),colorred;
//STICKLINE(CLOSE=LOW AND (C<=0.900968*REF(C,1) OR (C>0.94915*REF(C,1) AND C<=0.9504836*REF (C,1))),O,C,10,0),colorgreen;
P=(C-REF(C,1))/REF(C,1);
STICKLINE(CLOSE=HIGH AND (P>=0.099003 OR (P>=0.0489000 AND P<0.0515)),O,C,10,0),colorred;
STICKLINE(CLOSE=LOW AND (-P>=0.099003 OR (-P>=0.0494815 AND -P<0.05085)),O,C,10,0),colorgreen;
//MA$5:=MA(CLOSE, 60);
//MA$6:=MA(CLOSE, 120);
//FILLRGN(MA$5,MA$6,MA$5>MA$6,color232142,MA$5<MA$6,color307f02,MA$5=MA$6,colorwhite);
//byx:=MA(CLOSE,5);
//REF2:REF(byx,1),color0321e2;
//FILLRGN(byx,REF(byx,1),byx>REF(byx,1),RGB(150,0,0),byx<REF(byx,1),RGB(0,150,0));
//DRAWKLINE(H,O,L,C);
//VA1:=TROUGHBARS(2,5,1);
//VR1:=PEAKBARS(1,5,1);
//VA2:=IF(VA1=0,1,0);
//VR2:=IF(VR1=0,1,0);
//DRAWLINE(REF(VA2,1),L,VA2,L,1);
//DRAWLINE(REF(VR2,1),H,VR2,H,1);

自制买卖线 同花顺指标 源码 贴图点击下载自制买卖线 同花顺指标 源码 贴图

股票公式栏目导航

精品指标推荐

最新热门

本类随机推荐

相关公式