飞狐主图源码 简单实用的买卖金线主图源码
2015-1-31 11:36:31 股票入门 http://rumen.southmoney.com
南方财富网带来飞狐主图源码 简单实用的买卖金线主图源码:
买卖金线源码:
VAR1:=(100 - ((90 * (HHV(HIGH,21) - CLOSE)) / (HHV(HIGH,21) - LLV(LOW,21))));
VAR2:=(100 - ((90 * (HHV(HIGH,21) - CLOSE)) / (HHV(HIGH,21) - LLV(LOW,21))));
VAR3:=(100 - MA(((100 * (HHV(HIGH,6) - CLOSE)) / (HHV(HIGH,6) - LLV(LOW,6))),34));
{DRAWICON(CROSS(VAR2,MA(VAR3,6)),(LOW * 0.998),1);
DRAWICON(CROSS(MA(VAR3,6),VAR1),(HIGH * 1.013),2);}
DRAWTEXT(CROSS(VAR2,MA(VAR3,6)),(LOW * 0.984),‘进 ’),COLORFF00FF;
DRAWTEXT(CROSS(MA(VAR3,6),VAR1),(HIGH * 1.035),‘出 ’),COLOR3AFF00;
分界线:MA(CLOSE,21),COLORYELLOW;
STICKLINE(C》=分界线 AND C》=O,C,O,5,0),COLORRED;
STICKLINE(C》=分界线 AND C》=O,H,L,0,0),COLORRED;
STICKLINE(C》=分界线 AND C《O,C,O,5,1),COLORRED;
STICKLINE(C》=分界线 AND C《O,O,H,0,0),COLORRED;
STICKLINE(C》=分界线 AND C《O,C,L,0,0),COLORRED;
STICKLINE(C《分界线 AND C》O,C,O,5,1),COLORFFFF00;
STICKLINE(C《分界线 AND C《=O,C,O,5,1),COLORFFFF00;
STICKLINE(C《分界线 AND C《=O,H,L,0,1),COLORFFFF00;
STICKLINE(C《分界线 AND C》O,C,H,0,1),COLORFFFF00;
STICKLINE(C《分界线 AND C》O,O,L,0,1),COLORFFFF00;
股票入门声明:资讯来源于互联网,属作者个人观点,仅供投资者参考,并不构成投资建议。投资者据此操作,风险自担。