发一个BS点红蓝K主图源码,希望大家都能在股市中完美操作,获利多多。
BS点红蓝K主图
VAR1:=(100 - ((90 * (HHV(HIGH,14) - CLOSE)) / (HHV(HIGH,14) - LLV(LOW,14))));
VAR2:=(100 - MA(((100 * (HHV(HIGH,6) - CLOSE)) / (HHV(HIGH,6) - LLV(LOW,6))),34));
STICKLINE(VAR1< MA(VAR2,6),LOW,HIGH,0,1),COLORLIBLUE;
STICKLINE(VAR1> MA(VAR2,6),LOW,HIGH,0,1),COLORRED;
STICKLINE(((OPEN>CLOSE)AND(VAR1<MA(VAR2,6))),(CLOSE-0.03),OPEN,2.5,0),COLORLIBLUE;
STICKLINE(((OPEN<CLOSE)AND(VAR1<MA(VAR2,6))),CLOSE,OPEN,2.5,1),COLORLIBLUE;
STICKLINE(((OPEN>CLOSE)AND(VAR1>MA(VAR2,6))),OPEN,(CLOSE-0.03),2.5,0),COLORRED;
STICKLINE(((OPEN<CLOSE)AND(VAR1>MA(VAR2,6))),OPEN,CLOSE,2.5,1),COLORRED;
DRAWICON(CROSS(VAR1,MA(VAR2,6)),(LOW - (LOW*0.02)),7);
DRAWICON(CROSS(MA(VAR2,6),VAR1),(HIGH+(HIGH*0.02)),8);
MA1:MA(CLOSE,5);
MA2:MA(CLOSE,10);
MA3:MA(CLOSE,25);
MA4:MA(CLOSE,50);
201991935128199.jpg
201991935542909.jpg
|