通达信周月区间趋势主图指标 源码 贴图

2023-09-14 10:12:00来源:本站整理浏览:868

通达信周月区间趋势主图指标 源码 贴图

通达信周月区间趋势主图指标 源码 贴图

通达信周月区间趋势主图指标 源码 贴图

WC:=C#WEEK,LINETHICK0;{周}
WO1:=IF(WEEKDAY<REF(WEEKDAY,1),O,DRAWNULL);
WO:=HHV(WO1,WEEKDAY),LINETHICK0;{日}
WH:=HHV(H,WEEKDAY),LINETHICK0;
WL:=LLV(L,WEEKDAY),LINETHICK0;
MC:=C#MONTH,LINETHICK0;{月}
MO1:=IF(DAY<REF(DAY,1),O,DRAWNULL);
MO:=HHV(MO1,DAY),LINETHICK0;
AG:=DAY<REF(DAY,1);
BG:=BARSLAST(AG)+1;
MH:=HHV(H,BG),LINETHICK0;
ML:=LLV(L,BG),LINETHICK0;
STICKLINE(MC>=MO,MO,MC,4,0),COLOR5CA8FD;{COLOR5CA8FD淡橙色}
STICKLINE(MC<MO,MO,MC,4,0),COLOR008B00;{COLOR008B00深绿}
STICKLINE(WC>=WO,WO,WC,4,0),COLOR003399;{COLOR003399土红}
STICKLINE(WC<WO,WO,WC,4,0),COLOR993300;{COLOR993300深蓝}
DRAWKLINE(H,O,L,C);{公式网WWW.GPXIAZAI.COM};


 

 

股票公式栏目导航

精品指标推荐

最新热门

本类随机推荐

相关公式