Attachments forums

List of attachments posted on this forum.


All files on forums: 135651

Re: MT4 Indicator requests and ideas

pacois, Sun Oct 13, 2019 11:37 am

fxwealth wrote: Sun Oct 13, 2019 12:58 am Dear Coders, Could someone 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
Hi, the calculation on the previous bar?Try!!
All files in topic