Hi AlgoGeek,
Thank you so much for you prompt reply…
I am finding it difficult to get the explanation you have given or may be there’s a confusion.
For an example, let’s say I got a buy signal for IOC at the close of the latest signal at Rs. 360.
Then, as per my question, how can I simultaneously get a Sell signal to exit the Buy at Rs. 356.4?
Basically, in real time we can always do the math for 1% (which is time consuming), but is there any mechanism by which the price will be calculated automatically and give an alert (when used in EA)? Also, I need this for backtesting.
Can you please check this and help?
Regards,
Mangesh
I have been working on exit codes as well , i have the same issue . Not able to write an exit code depending buy/sell price , because we are not storing this price anywhere in the code. I suppose we could assign a variable to store the price , then exit code is easy to write.