大智慧打劫庄家副图指标
源码
{打劫庄家}
DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26);
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);
在犹豫中上扬:0,coloryellow;
在无奈中叹息:STICKLINE(DIFF>ema(DIFF,4) and DIFF>ref(DIFF,1) ,-0.3 ,0 ,8 ,0 ),colorred;
在清醒时套牢:STICKLINE(DIFF>ema(DIFF,4) and DIFF<ref(DIFF,1) ,-0.3 ,0 ,8 ,0 ),colorwhite;
STICKLINE(DIFF<ema(DIFF,4) and DIFF>ref(DIFF,1) ,-0.3 ,0 ,8 ,0 ),coloryellow;
在憧憬中毁灭:STICKLINE(DIFF<ema(DIFF,4) and DIFF<ref(DIFF,1) ,-0.3 ,0 ,8 ,1 ),colorffbb44;
STICKLINE(K>ema(K,4) and K>ref(K,1) ,-0.3 ,0 ,8 ,0 ),colorred;
STICKLINE(K>ema(K,4) and K<ref(K,1) ,0.1 ,0 ,8 ,1 ),colorwhite;
STICKLINE(K<ema(K,4) and K>ref(K,1) ,0.2 ,0 ,8 ,0 ),coloryellow;