北京手足癣专科医院 http://m.39.net/baidianfeng/a_8928389.html
南川三代分时是一款突出的技巧目标,跟着灵通信版本的不休革新,原版本已不再实用于新版的灵通信,本学院版永远性地处理了这个题目,实用于任何版本的灵通信,现将源码颁布以下。
{南川三代分时}
{技巧目标}{主图叠加}
{参数精灵:请配置计较参数:
TT2:PARAM#0(.00--.00)}
TT2:=;
木子0:=(BARSLAST(((HOUR=9)AND(MINUTE=31)))+1);
木子1:=SUM(V*C,0)/SUM(V,0);
木子2:=(SUM((CLOSE*VOL),0)/SUM(VOL,0));
木子3:=(((SETCODE=0)OR(SETCODE=1))AND(CLOSE));
HHH:IF(((SETCODE2)AND(CONST(木子0))),CONST(IF((TIMETT2),HHV(CLOSE,0),SUM((IF((TIME=TT2),1,0)*HHV(CLOSE,0)),0))),DRAWNULL),DOTLINE,COLORFF;
LLL:IF(((SETCODE2)AND(CONST(木子0))),CONST(IF((TIMETT2),HHV(CLOSE,0),SUM((IF((TIME=TT2),1,0)*LLV(CLOSE,0)),0))),DRAWNULL),DOTLINE,COLORFF;
木子6:=IF(木子3,木子1,木子2);
木子7:="NANCHUAN.MACS#DAY";
木子8:=(木子7*1.3);
木子9:=((CLOSEREF(CLOSE,1))AND((CLOSE/木子6)(1+(木子7/))));
木子10:=((CLOSEREF(CLOSE,1))AND((CLOSE/木子6)(1-(木子7/))));
HH1:((REF(SUM(木子9,0),1)=0)AND(SUM(木子9,0)=1)),NODRAW;
LL1:((REF(SUM(木子10,0),1)=0)AND(SUM(木子10,0)=1)),NODRAW;
木子13:=(SUM(HH1,0)*CROSS(COUNT((CLOSEREF(CLOSE,1)),BARSLAST(HH1)),0.5));
木子14:=(SUM(LL1,0)*CROSS(COUNT((CLOSEREF(CLOSE,1)),BARSLAST(LL1)),0.5));
CS1:CONST(SUM(IF(木子13,REF(CLOSE,1),DRAWNULL),0)),LINETHICK2,COLORGREEN;
CB1:CONST(SUM(IF(木子14,REF(CLOSE,1),DRAWNULL),0)),LINETHICK2,COLORMAGENTA;
HH2:CROSS(SUM((木子9AND(CLOSE(CS1*(1+(木子8/))))),0),0.5),NODRAW;
LL2:CROSS(SUM((木子10AND(CLOSE(CB1*(1-(木子8/))))),0),0.5),NODRAW;
木子19:=(SUM(HH2,0)*CROSS(COUNT((CLOSEREF(CLOSE,1)),BARSLAST(HH2)),0.5));
木子20:=(SUM(LL2,0)*CROSS(COUNT((CLOSEREF(CLOSE,1)),BARSLAST(LL2)),0.5));
CS2:CONST(SUM(IF(木子19,REF(CLOSE,1),DRAWNULL),0)),COLORGREEN;
CB2:CONST(SUM(IF(木子20,REF(CLOSE,1),DRAWNULL),0)),COLORMAGENTA;
DRAWICON((HH1ORHH2),(CLOSE*1.),39);
DRAWICON((LL1ORLL2),(CLOSE*0.),38);
DRAWICON((木子14OR木子20),(REF(CLOSE,1)*0.),7);
DRAWICON((木子13OR木子19),(REF(CLOSE,1)*1.),8);
价位:CLOSE,LINETHICK4,COLORWHITE;
{副图称号:NANCHUAN}
木子0:=REF(CLOSE,1);
木子1:=REF(MAX(HIGH,木子0),1);
木子2:=REF(MIN(LOW,木子0),1);
MACS:(MA((((木子1-木子2)/REF(CLOSE,2))*),5)/4);
EMACS:(EMA((((木子1-木子2)/REF(CLOSE,2))*),5)/4);
NOTEXT前收盘价:REF(CLOSE,1);
NOTEXT上市周期:BARSSINCE(CLOSE);
NOTEXTMA5:MA(CLOSE,5);
NOTEXTMA10:MA(CLOSE,10);
NOTEXTMA20:MA(CLOSE,20);
NOTEXTMA60:MA(CLOSE,60);
NOTEXTRMA5:REF(MA(CLOSE,5),1);
NOTEXTRMA10:REF(MA(CLOSE,10),1);
NOTEXTRMA20:REF(MA(CLOSE,20),1);
NOTEXTRMA60:REF(MA(CLOSE,60),1);
NOTEXT大盘价位:INDEXC;
NOTEXT昨日大盘:REF(INDEXC,1);
预览时标签不行点收录于合集#个