Dear Coders, Could some please code the following indicator. Let's say you are on a 4 hour chart. The indicator must display the following:
A calculation will need to be done which will be as follows: When a New Bar opens look at the previous bars distance between the High and Low Price. Lets say the High price was 1.2400 and the Low price was 1.2350 Subtract High price from the Low price which in this case gives us 50 pips. Now divide the 50 pips by 2 which gives us 25 pips. The value of 25 pips must then be displayed on the chart in the upper left or right corner.
If the result is 10 pips or less then "No Trade" must be displayed
Thank you and Best rgds
A calculation will need to be done which will be as follows: When a New Bar opens look at the previous bars distance between the High and Low Price. Lets say the High price was 1.2400 and the Low price was 1.2350 Subtract High price from the Low price which in this case gives us 50 pips. Now divide the 50 pips by 2 which gives us 25 pips. The value of 25 pips must then be displayed on the chart in the upper left or right corner.
If the result is 10 pips or less then "No Trade" must be displayed
Thank you and Best rgds