So, in other words, the conditions are met... it's time go long (or short) and I want to place a limit order at whatever price that the EMA is showing for that bar is. How would I do that?
And when I say "that bar" I mean the current bar, which I guess would be after the "signal" bar. ie. the system (I guess) checks for the conditions to be met, when they are... it puts in an order right after the close of the signal bar (that bar that just closed and where the conditions were met is what I'm calling the "signal bar")... would it use the EMA from the signal bar... or the bar immediately following the close of the signal bar? And how would we adjust it to use the EMA of the signal bar if we wanted to or the current bar (the bar after the signal bar).
Also, say for example that the current bar's price didn't go far enough to ht the limit order price and enter me into the trade... and now a new bar is being produced... and has a new/updated EMA... how can I make it so the system will update that original limit price to the new current EMA value? So in essence... my limit order follows along as new bars are getting produced and updates the limit order until I enter into the trade?
And can I limit the "following" of that for say 4 or 5 bars... if it's still not hit by then, just cancel the order and start looking for the conditions again te be met... ie. resume the strategy.
Comment