I'm a beginner programmer to say the least but can do fine if I have a good example. I've read the Advanced Order Handling section, but the examples aren't quite clear enough for me to totally understand. I've solved a few other issues using some sample.zip files Josh had posted. I'm hoping someone has an example strat that holds a flagged price until it's hit or cancelled.
I'm using VStop indicator instead of ATR Trailing. When the price causes the Stop to change over, I want to wait for a retrace and then enter on the Stop value that was broken causing the change over. I can't use NBars since I don't know how many bars for a retrace to come back and hit that price again. In plain english, here's what I want to make the strategy do, for a short entry as an example:
If price breaking through a stop causes a change over, and the low of any succeeding bar is greater than the stop value at the time of change over (the retrace requirement), then enter at that stop value on a Stop Order. I'll need to cancel the standing order once it's filled.
I've attached a picture since I'm sure it will explain much better what I'm looking to do. Thanks in advance!
Joe

Comment