自动画压力支撑线公式源码有图介绍
自动画压力支撑线公式源码有图
今天有时间写了一个在主图上自动画压力支撑线的公式
{压力支撑};
DRAWLINE(HIGH>=HHVALL(HIGH),HIGH,HIGH>=PEAK(1,30,1 ),HIGH,1),LINETHICK2,colorgreen;
DRAWLINE(HIGH>=HHVALL(HIGH),HIGH,HIGH>=PEAK(1,15,1 ),HIGH,1),colorgreen;
DRAWLINE(LOW<=LLVALL(LOW),LOW,LOW<=TROUGH(2,30,1),LOW,1),LINETHICK2,colorred;
DRAWLINE(LOW<=LLVALL(LOW),LOW,LOW<=TROUGH(2,15,1),LOW,1),colorred;
gd14708