This is my question to the timing issue code

Sorry its a little buggy posting this. Top code is the code. All the white space is my attempt to try different approaches to things i am trying to accomplish so i use a lot of white space to separate my ideas.



I need to get the price my alert condition becomes true and subtract it from the high or low of the bar and populate the row with that value. But they occur at different times. So if my first signal happens at 2023-08-30  12:44:25 and price is 1.27051 and populates row 2. The high or low of the day will not occur until after this has happened and I need to store the price diff for that instance. As I am trying to find values relative to a large price diff vs low? Not sure how to deal with this timing?

Hey Philip,



I understand that you're dealing with a timing issue in your strategy. If the issue is related to coding in Sierra/C++ itself, you can consider seeking help on platforms like the C++ Forum or Stack Overflow for support.



If the issue you're facing is related to the logic of your strategy, we'd be more than happy to assist you with that aspect. But in that case, please provide more details about your strategy in a step-wise manner and preferably with an example.

I will take a look at those thank you! Strategy is dailed!! I have zero strategy quiestoin!