散人1号 源码
所属板块:=STRCAT('【所属板块】',STRCAT(STRCAT(STRCAT('【行业】',HYBLOCK),STRCAT('【地区】',DYBLOCK)),STRCAT('【概念】',GNBLOCK)));
DRAWTEXT_FIX(ISLASTBAR,0.00,0.0,0,所属板块),COLORFF00FF;
DRAWTEXT_FIX(1,0.0,5,0,'分析家公式网WWW.70822.COM'),COLORYELLOW;
操盘线:MA(C,4),COLORRED,LINETHICK1;
安全线:MA(C,19),COLORGRAY,LINESTICK,LINETHICK1;
牛熊分界线: MA(C,200),COLORYELLOW,CIRCLEDOT,LINETHICK1;
DRAWTEXT(CROSS(安全线,操盘线) ,H*1.01,' 卖'), COLOR00FF00,LINETHICK9;
DRAWTEXT(CROSS(操盘线,安全线),L*0.99,' 买'),COLORYELLOW,LINETHICK9;
DRAWICON(CROSS(操盘线,安全线),L*0.98,9);
DRAWICON(CROSS(安全线,操盘线),H*1,2);
{龙头主图}
AA:=((CLOSE/REF(CLOSE,1))>=1.099);
CB:=(VOL/REF(VOL,1));
关注:IF((((CLOSE/REF(CLOSE,1))>=1.07) AND (CB<1)),1,0),LINETHICK0,NODRAW;
龙头第一买点:=IF((AA AND (CB<1)),1,0);
龙头第二买点:=IF((((CLOSE/REF(CLOSE,1))>=1.07)AND (CB<1)),1,0);
DRAWTEXT((龙头第二买点=1),(REF(LOW,1)*1.1),'↖龙头'),COLOR00FFFF;
买线:=(EMA(CLOSE,2));
卖线:=(EMA(((SLOPE(CLOSE,21)*20)+CLOSE),42));
DRAWKLINE(HIGH,OPEN,LOW,CLOSE);
DRAWTEXT_FIX(1,0.45,0.04,0,'绝对执行指令: 跳空阴,出干净 !')COLORYELLOW;
2021122033954876.png
20211220331870839.png
|