Ebrat Skeldan:
Hi,
I want to code indicator with static rectangles, who will be like template for every chart i want.
The question is, How to code rectangle, from date to date with high and low price within this period?
First you have to find these values and then set them in ObjectCreate.
For one day D'01.01.2018' you can use simply value High and Low for day bar by use CopyHigh and CopyLow functions.

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,
I want to code indicator with static rectangles, who will be like template for every chart i want.
The question is, How to code rectangle, from date to date with high and low price within this period?