I would like to ask you for a little help with programming the following indicator. I hope it is not too complicated to code.
I need:
Indicator for NT8 that plots 3 lines (Yellow, Red and Green) at the bottom of a chart.
Calculation of the lines:
For the calculation you need 3 variables that are: Delta, Min Delta and Max Delta.
Yellow: Delta
- Red: (Delta + Min Delta)
- Green: (Delta + Min Delta + Max Delta)
- Horizontal line #1: 500 (ideally allowing you to modify the value from the properties)
- Horizontal line #2: -500 (ideally allowing you to modify the value from the properties)
Example simulated in Excel.
I would appreciate being able to integrate the calculation mode for each Tick and also for on bar close. This way I can test it and see which mode is the most convenient.
Thankful in advance
Comment