 | |  |  |
飞狐理想波段源码公式:
RSV:=(CLOSE-LLV(LOW,7))/(HHV(HIGH,7)-LLV(LOW,7))*100;
短K:SMA(RSV,3,1),colorwhite;
短D:SMA(短K,3,1),coloryellow;
RSV1:=(CLOSE-LLV(LOW,38))/(HHV(HIGH,38)-LLV(LOW,38))*100;
长K:SMA(RSV1,5,1),colorred;
长D:SMA(长K,10,1),COLOR66CC33;
18,colorwhite;
85,colorblue;
stickline(短K>短D,短K,短D,3,0),coloryellow;
STICKLINE(短K<=短D,短K,短D,3,0),colorgreen;
STICKLINE(长K>长D,长K,长D,3,0),colorred;
STICKLINE(长K<=长D,长K,长D,3,0),COLOR669933;
中间线:50,ColorFFFFFF,POINTDOT;
DRAWICON(CROSS(短K,短D),短D+0.02,1);
DRAWICON(CROSS(长K,85),长K+0.02,2);
DRAWICON(CROSS(短K,85),短K+0.02,2);
DRAWTEXT((短K-(-1)>85),90,'卖'),ColorF0F000;
选股买入:CROSS(短K,短D),Color0000FF;
DRAWTEXT(CROSS(短K,18),50,'买'),Color0000FF; |
| |  | |  |
|