公式网 股票指标公式源码分享 登录 注册
公式指标平网
未来函数检测
首页 金钻指标 通达信公式 大智慧公式 同花顺公式 文华财经公式 东财通公式 飞狐公式 操盘手公式 其他公式 公式解答 股票软件 股票池
当前位置:→ 公式网 > 大智慧公式 > 正文 → 正文

市场派王卫峰指标源码 市场派指标源码 市场派指标公式

发布时间:2013/6/13 18:13:47  浏览次数:

市场派王卫峰指标源码 市场派指标源码 市场派指标公式

INPUT:P1(5,1,999,1),P2(10,1,999,1),P3(20,1,999,1),P4(60,1,999,1),P5(125,1,999,1),P6(250,1,999,1);
SVAR2:=BARPOS ;
SVAR4:=MA(VOL,5) ;
SVAR5:=MA(VOL,35) ;
SVAR6:=MA(VOL,135) ;
SVAR7:=MAX(SVAR4,SVAR5,SVAR6,VOL) * (1 + 23 / 100) ;
SVAR9:=YEAR ;
SVAR10:=MONTH ;
SVAR11:=DAY ;
MA1:MA(CLOSE,P1) ;
MA2:MA(CLOSE,P2) ;
MA3:MA(CLOSE,P3) ;
MA4:MA(CLOSE,P4) ;
MA5:MA(CLOSE,P5) ;
MA6:MA(CLOSE,P6),LINETHICK3,COLOR0000FF ;
SVAR0:=INTPART(MA(HIGH,17) * 100) / 100 ;
SVAR1:=INTPART(MA(LOW,17) * 100) / 100 ;
SVAR3:=IF(CLOSE < REF(SVAR1,1),0,1) ;
SVAR8:=INTPART(SVAR7 / 100) * 100 ;
IF (REF(SVAR3,1) = 0) AND CLOSE < OPEN THEN BEGIN
SVAR3:=0 ;
END
IF (REF(SVAR3,1) = 0) AND CLOSE < REF(SVAR1,1) THEN BEGIN
SVAR3:=0 ;
END
IF (REF(SVAR3,1) = 1) AND CLOSE >= REF(SVAR1,1) THEN BEGIN
SVAR3:=1 ;
END
IF (REF(SVAR3,1) = 0) AND VOL >= REF(SVAR8,1) AND CLOSE >= REF(SVAR1,1) AND CLOSE >= OPEN THEN BEGIN
SVAR3:=1 ;
END
IF (REF(SVAR3,1) = 0) AND VOL < REF(SVAR8,1) AND CLOSE >= REF(SVAR1,1) AND CLOSE < REF(SVAR0,1) AND CLOSE >= OPEN THEN BEGIN
SVAR3:=0 ;
END
IF (REF(SVAR3,1) = 0) AND CLOSE >= REF(SVAR0,1) AND CLOSE >= OPEN THEN BEGIN
SVAR3:=1 ;
END
DRAWTEXT((REF(SVAR3,1) = 0) AND (SVAR3 = 1),LOW * 0.995,'▲'),ALIGN1,COLOR0000FF;
DRAWTEXT((REF(SVAR3,1) = 1) AND (SVAR3 = 0),HIGH * 1.01,'▼'),ALIGN1,COLOR00FF00;
STICKLINE((SVAR3 = 0) AND CLOSE >= OPEN,CLOSE,OPEN,8,1),COLORF0F000;
STICKLINE((SVAR3 = 0) AND CLOSE >= OPEN,CLOSE,HIGH,0.001,0),COLORF0F000;
STICKLINE((SVAR3 = 0) AND CLOSE >= OPEN,LOW,OPEN,0.001,0),COLORF0F000;
STICKLINE((SVAR3 = 0) AND CLOSE < OPEN,CLOSE,OPEN,8,0),COLORF0F000;
STICKLINE((SVAR3 = 0) AND CLOSE < OPEN,CLOSE,LOW,0.001,0),COLORF0F000;
STICKLINE((SVAR3 = 0) AND CLOSE < OPEN,HIGH,OPEN,0.001,0),COLORF0F000;
STICKLINE((SVAR3 = 1) AND CLOSE >= OPEN,CLOSE,OPEN,8,1),COLOR0000FF;
STICKLINE((SVAR3 = 1) AND CLOSE >= OPEN,CLOSE,HIGH,0.001,1),COLOR0000FF;
STICKLINE((SVAR3 = 1) AND CLOSE >= OPEN,LOW,OPEN,0.001,1),COLOR0000FF;
STICKLINE((SVAR3 = 1) AND CLOSE < OPEN,CLOSE,OPEN,7,1),LINETHICK3,COLOR0000FF;
STICKLINE((SVAR3 = 1) AND CLOSE < OPEN,CLOSE,OPEN,7,0),COLORF0F000;
STICKLINE((SVAR3 = 1) AND CLOSE < OPEN,HIGH,OPEN,0.001,0),COLOR0000FF;
STICKLINE((SVAR3 = 1) AND CLOSE < OPEN,CLOSE,LOW,0.001,0),COLOR0000FF;
DRAWFLAGTEXT(SVAR3 = 1,CLOSE,'' + SVAR9 + '年' + SVAR10 + '月' + SVAR11 + '日之明日卖出提示:\n
股价跌破' + SVAR1 + '元卖出');
DRAWFLAGTEXT((SVAR3 = 0) OR ((REF(SVAR3,1) = 0) AND (CLOSE < OPEN OR (CLOSE < REF(SVAR0,1) AND VOL < REF(SVAR8,1)))),CLOSE,'' + SVAR9 + '年' + SVAR10 + '月' + SVAR11 + '日之明日买入提示:\n
1:股价 ≥' + SVAR0 + '元买入。\n
2:股价≥' + SVAR1 + '元, 并且 \n
成交量 ≥' + SVAR8 + '手买入。');
 

市场派王卫峰指标源码 市场派指标源码 市场派指标公式

资源下载链接   资源大小:unknow

手机移动版 - 关于我们 - 联系我们 - 广告合作 - 下载声明 - 网站帮助 - 友情链接 - 网站地图 - TOP
湘ICP备09016573号-3 增值电信业务经营ICP许可证:湘B2-20210269 湘公网安备43108102000039号
Copyright © GSZX.COM.CN ,All Rights Reserved.
股票公式,股票指标,股票软件,股票知识