if (close>open) buy this bar close; (tradestation)
in thinkOrSwim you can even trade on the open,i.e.
if(open[-1]>close[0]) buy next at bar open...
I know what you will tell me (have read many topics, and same answers) that when bar is closed, it cant execute trade on that bar, and we have to use more granular timeframe, but, please, come-on....
in backtesting, we should be allowed (give us a parameter in indi, to be set-able, i.e. AllowSameBarExecutions = true) to execute trades on same bar, because in REAL-LIFE scenarios, we execute orders on same bar (even in daily data, if the OPEN>CLOSE[1], then the order can be executed on the next tick, practically that's same as open)..
and when we are on the last 1-2 minute of Daily Chart, and we see that CLOSE>OPEN, we can execute order on the same bar too...
so, PLEASE, just tell the developers, to allow us to code that way.
I dont know why that is not allowed, and sorry, but i wont agree any explanations against that.
p.s. anyway, thank you guys for excellent support!
Comment