TradeStation EasyLanguage tutorial 164 | How to buy 1 tick above the previous bar high

3 years ago
6

Tutorial 164 is an example of an EasyLanguage program to "buy 1 tick above the previous bar high."

This is demonstrated using 'legacy' EasyLanguage in a strategy (_Tutorial164) that issues an order based on the value of the high of the previous bar, except on the last tick of the bar when it issues the order based on the high of this bar (the actual order occurs the next bar).

I also demonstrate an indicator (_Tutorial164-OrderTicket) that uses the OrderTicket object to generate trades. The initial order ticket is sent once on the last tick of the bar and then on the last tick of each bar, provided its update event shows that it has been received (and not filled), it is updated and replaced using the new high value.

See the tutorial page for more information: https://markplex.com/free-tutorials/tutorial-164-how-to-buy-1-tick-above-the-previous-bar-high/

Loading comments...