软件名称:[B]市场派王卫峰指标源码 市场派指标源码 市场派指标公式[/B]
软件类型:国产软件
运行环境:Win9X/Win2000/WinXP/Win2003/
软件语言:简体中文
授权方式:免费版
软件大小:5.00 KB
官方主页:Home Page
更新时间:2013-06-14 00:39:42
软件简介:
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 + '手买入。');
[url=http://www.70822.com/soft/sort013/sort03/down-63396.html]市场派王卫峰指标源码 市场派指标源码 市场派指标公式[/url]