以下是同花顺白银60分钟源码
只适用于小时线
最适合白银60分钟K线,适用部分股票,准确率高,顶底先知。好不好试了才知道,
DRAWGBKLAST(CLOSE<OPEN,STRIP(RGB(55,50,0),RGB(0,25,1000),1));
DRAWGBKLAST(C>O,STRIP(RGB(100,0,0),RGB(30,30,0),1));
IF(DATE>20141125) XXX:=0 ;
ELSE XXX:=1;
底:2,coloryellow;
顶:95,colorred;
预知:(EMA(((H+L+C)/3-LLV((H+L+C)/3,18))/(HHV((H+L+C)/3,18)-LLV((H+L+C)/3,18)),2)*100)*xxx;
//DRAWTEXT(CROSS(1.9,(EMA(((H+L+C)/3-LLV((H+L+C)/3,18))/(HHV((H+L+C)/3,18)-LLV((H+L+C)/3,18)),2)*100)),5,’做多’)*xxx, colorred;
//DRAWTEXT(CROSS(0.8,(EMA(((H+L+C)/3-LLV((H+L+C)/3,18))/(HHV((H+L+C)/3,18)-LLV((H+L+C)/3,18)),2)*100)),15,’加仓’)*xxx, colorcyan;
//DRAWTEXT(CROSS((EMA(((H+L+C)/3-LLV((H+L+C)/3,18))/(HHV((H+L+C)/3,18)-LLV((H+L+C)/3,18)),2)*100),99.8),85,’加空’)*xxx, coloryellow;
DRAWTEXT(CROSS(预知,95),95,’做空’)*xxx, colorgreen;
DRAWTEXT(CROSS(预知,99.8),85,’加空’)*xxx, coloryellow;
DRAWTEXT(CROSS(1.9,预知),10,’做多’)*xxx, colorred;
DRAWTEXT(CROSS(0.8,预知),20,’加仓’)*xxx, colorcyan;
DRAWTEXT_FIX(CURRBARSCOUNT=60,0.02,0.3,0,’→★坚决按指标执行★←’),colorgreen;
DRAWTEXT_FIX(CURRBARSCOUNT=60,0.2,0.3,0,’→★不作任何分析★←’),colorred;
DRAWTEXT_FIX(CURRBARSCOUNT=60,0.4,0.3,0,’→★百分之百盈利★←’),coloryellow;
DRAWTEXT_FIX(C>O,0.01,0.7,0,’ 指标活用☆QQ:→★44444444★← ‘),colorgreen;
DRAWICON(CROSS(预知,REF(预知,1))AND REF(预知,1)<50,预知,1);
DRAWICON(CROSS(REF(预知,1),预知)AND REF(预知,1)>50,预知,2);
评论(0)