9qihuo.com
我们只提供有用的干货

老师,我要在波峰和波谷的K线上标数值,帮忙写下 (文华财经WH6赢顺V6.8)

投资者咨询:老师,我要在波峰和波谷的K线上标数值,帮忙写下 (文华财经WH6赢顺V6.8)
来源:文华财经  日期:2020/7/31 17:33
 N:=5;
WP:WAVEPEAK(5);
WV:WAVEVALLEY(5);
HH:=VALUEWHEN(WP,H);
CON1:=WP;
DRAWHORIZONTALLINE(CON1,HH,COLORRED);
DRAWNUMBER(ISLASTBAR,HH,HH,2,COLORRED),VALIGN0,ALIGN0;
LL:=VALUEWHEN(WV,L);
CON2:=WV;
DRAWHORIZONTALLINE(CON2,LL,COLORGREEN);
DRAWNUMBER(ISLASTBAR,LL,LL,2,COLORGREEN),VALIGN0,ALIGN0;
技术人员回复
日期:2020/7/31 17:43
 参考:

 N:=5;
WP:WAVEPEAK(5);
WV:WAVEVALLEY(5);
HH:=VALUEWHEN(WP,H);
CON1:=WP;
DRAWHORIZONTALLINE(CON1,HH,COLORRED);
DRAWNUMBER(ISLASTBAR,HH,HH,2,COLORRED),ALIGN0;
DRAWNUMBER(CON1,HH,HH,2,COLORRED),ALIGN0;
LL:=VALUEWHEN(WV,L);
CON2:=WV;
DRAWHORIZONTALLINE(CON2,LL,COLORGREEN);
DRAWNUMBER(ISLASTBAR,LL,LL,2,COLORGREEN),VALIGN0,ALIGN0;
DRAWNUMBER(CON2,LL,LL,2,COLORGREEN),VALIGN0,ALIGN0;