I have been trying to code a closed loop for Limit Orders, that is...
Once a setup is triggered, I would like to set the Limit Order, place it, and then keep it "open", or recurring, for "x" number of bars.
As far as I can tell, Tradestation evaluates and places Limit orders on the "next bar" only and does not keep it "open" until filled.
Does anyone have experience, or ideas, on how to code Easy Language to:
1) leave a Limit Order "open", or
2) continuously place the SAME Limit Order, bar after bar, for "x" number of bars, or
3) write a loop in the code that repeats placing the same Limit Order, over and over again, for "x" number of bars ?
I have done multiple web searches for this intent and have come up blank.
Time to talk to this true crowd.
Thank you !