Does anyone know how to write a script that adds and subtracts the price of candles at specific points?
For instance, I have an indicator that signals a buy and sell point. I want to be able to write a script that will display the percent profit from the buy and sell point. From there, I want the script to add up every buy-sell profit in a certain range (ex the last 5 days). As of now, I make a script and then manually enter a month worth of information into excel to see if the script is profitable; I want to make something that gets around the manual labor.
I have written many programs, but this is one concept that I have yet to discover.
Thanks y'all
For instance, I have an indicator that signals a buy and sell point. I want to be able to write a script that will display the percent profit from the buy and sell point. From there, I want the script to add up every buy-sell profit in a certain range (ex the last 5 days). As of now, I make a script and then manually enter a month worth of information into excel to see if the script is profitable; I want to make something that gets around the manual labor.
I have written many programs, but this is one concept that I have yet to discover.
Thanks y'all