|
Milan Italy
Posts: 4 since Mar 2020
Thanks Given: 1
Thanks Received: 0
|
Hi all,
I join this thread as I have a similar issue.
Could someone write for me the code to do the following?
Given an "identified" bar, I want to buy at this bar HIGH and sell short at this bar LOW and (VERY IMPORTANT) want to keep the order valid not only for next bar but also for all subsequent bars till a new "identified" bar takes place.
Market Position is always = 1.
Intrabar order generation is true as I want to enter the trade as soon as the price reaches one of the thresholds. Please see the attached picture for your better understanding.
Appreciate anyone who can help!
Thanks
|