Breakout above first 30 minute bar, then second if not reached
Author: renansaguiar
Creation Date: 11/25/2019 6:49 PM
profile picture

renansaguiar

#1
Hi Everybody,

I am trying to edit a strategy, but without success. No programming skills. If anyone can help me. Thank you in advanced.

Graphic time: 30 minutes
One operation a day
Buy if the second candle breakout above the high of the first candle or sell if the second candle breakout below the low of the first candle
Target: 130% of (broken candle, first candle)
Stop: the low of the first candle (broken candle)

If the second candle of the day (30 minutes) does not breakout the first candle. The same rule applies on the next candle. That is, buying at the breaking of the second candlestick high or selling at the second candlestick low. Target: 130% of (candle broken, second candle). Stop: At the minimum of the second candle (broken candle).
If the target or stop is not reached, sell at the close of the second to last candle of the day.
profile picture

Eugene

#2
Hi Renan

Welcome to the forums. Hope I got your idea correctly:

CODE:
Please log in to see this code.
This website uses cookies to improve your experience. We'll assume you're ok with that, but you can opt-out if you wish (Read more).