N:=5;
D3×3:MA(C,3),shift3,COLORC08000,LINETHICK1;
D25×5:MA(C,25),shift5,COLORRED;
A1:=if (high>PEAK(1,n,1),HHV(HIGH,21),PEAK(1,n,1));
A2:=if (low<TROUGH(2,n,1),llV(low,21),TROUGH(2,n,1));
A3:=(A1-A2)*0.618+A2;
A4:=(A1-A2)*0.5+A2;
A5:=(A1-A2)*0.382+A2;
PD:=ISLASTBAR;
最高:A1,COLORFF8080,LINETHICK1;
最低:A2,COLORFF8080,LINETHICK1;
F3:A5,COLOR808080,LINETHICK1;
F4:A4,COLOR808080,LINEDOT;
F5:A3,COLOR808080,LINETHICK1;
DRAWNUMBER(PD,最高,最高,2),COLORFF8080,ALIGN1;
DRAWNUMBER(PD,最低,最低,2),COLORFF8080,ALIGN1;
DRAWNUMBER(PD,F3,F3,2),COLOR808080,ALIGN1;
DRAWNUMBER(PD,F4,F4,2),COLOR808080,ALIGN1;
DRAWNUMBER(PD,F5,F5,2),COLOR808080,ALIGN1;
声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。
评论(0)