Ali Mojtabaei: 1) Add a buffer in histogram type that starts from A and ends by B in each day. 2) Hide the separate window when the period 4 hours and higher is selected. #property indicator_label1 "A" #property indicator_color1 Red #property indicator_type1 DRAW_LINE #property indicator_style1 STYLE_DOT #property indicator_width1 1 /*BUFFER 2 SETTINGS*********************************************/ #property indicator_label2 "B" #property indicator_color2 Red #property indicator_type2 DRAW_LINE : SetIndexStyle(0, DRAW_NONE); SetIndexStyle(1, DRAW_NONE); : k=iBarShift(Symbol(),PERIOD_D1,iTime(Symbol(),Period(),i)); |
whroeder1:
Thanks a lot whroeder1.
I'm in the beginning of the way and so I do many thing by trial and error ( for example the invisible case). I made that invisible to see if the separate window is vanished.
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Hi every one.
I wrote a simple indicator that shows lowest and highest price value for each day in a separate window.
There are two buffers that are labeled as “A” and “B” respectively for lowest and highest day price.
I’m going to develop the code in order to
1) Add a buffer in histogram type that starts from A and ends by B in each day.
2) Hide the separate window when the period 4 hours and higher is selected.
Please help me.