Watch how to order a trading robot
I wrote two indicators and need some help with checking out the code and adding some more features.
Fly price indicator calculates the distance between two spreads (EURGBP - EURUSD) and (EURUSD - GBPUSD) and plots this on a separate window as well as 10, 20 period moving average and 20 period bollinger band (adding and subtracting standard deviation from 20 period moving average).
Normalised Fly price plots normalised distance ( (distance-average)/standard deviation) and moving average of it.
I am a very beginner at coding and would like someone to check all the calculations and methods I wrote to make sure they both do as described above and rewrite codes in more efficient way where necessary.
Then I would like to add the following:
I want the labels on the chart to appear as the following: