Drawing lines example
-
I have the following code in an EA, where I want to capture the high and low over a period of time:
https://fxdreema.com/shared/jHNigVRyc
I have tried a few times and cannot work out how to draw a trend line on the chart for these two values.
Could someone provide a simple example to head me in the right direction? -
Unfortunately, the only way to do it with fxDreema is by finding the candle ID of those points first and then using a standard 'draw line' block with those values.
-
@l-andorrà thanks for the pointer.
I have tried this although still don't get any lines on the chart.
Would you be able to look at this and give some pointers on where the mistake might be:
https://fxdreema.com/shared/NEcmPRp5d -
You are using the exact same variable on 'price 1' and 'price 2' positions. You need to use different variables.
-
Oh my goodness - you are correct - I will correct this and try again - thanks!
-
You're welcome.