ToS doesnt allow conditional orders according to renko charts. Renko charts could take hours to fill one bar so I would like to set some conditional orders once my indicators set a signal that will follow the current price then buy once a bar is printed in the opposite direction. Then a conditional sell order to sell once it finishes the run and prints a bar in the opposite direction. Something like -
def renkoBlock = .00055 (number of ticks per block)
def renkoPrice = 1.00342 (change when order is placed according to previous bar close)
renkoPrice + renkoBlock (if price continues to go down in .00055 increments)
buy if current price = renkoPrice + renkoBlock * 2 (imitating the close of first green renko block)
Then im guessing something similar for the conditional sell order. I would like to set the buy and sell at the same time. Please let me know if this isnt possible. Thanks!
15127[/ATTACH]']
Is it also possible to buy long/short during a certain time frame (example: 0830 - 1100) and set the sell to trigger at the first reverse bar without a time frame?
def renkoBlock = .00055 (number of ticks per block)
def renkoPrice = 1.00342 (change when order is placed according to previous bar close)
renkoPrice + renkoBlock (if price continues to go down in .00055 increments)
buy if current price = renkoPrice + renkoBlock * 2 (imitating the close of first green renko block)
Then im guessing something similar for the conditional sell order. I would like to set the buy and sell at the same time. Please let me know if this isnt possible. Thanks!
15127[/ATTACH]']
Is it also possible to buy long/short during a certain time frame (example: 0830 - 1100) and set the sell to trigger at the first reverse bar without a time frame?
Attachments
Last edited: