Old classic trading strategy, using breakouts of the Donchan price channel.
If the price is above the price channel top line, open the long position (and close the short position) If the price is below the lower line of the price channel, open the short position (and close the long position)
It is recommended that you all use market stop orders.
Strategy #2 (stop-loss type = center)
This metod is better. This method is recommended.
The central line (red) is the middle of the Donchian price channel. Used to close any positions.
If the price is higher than the price channel top line, open the long position. If the price is lower than the lower line of the price channel, open the short position. If the price has crossed the central line of the channel, close any position.
It is recommended that you all use market stop orders.
Risk
There are 2 options. Risk for long positions and risk for short positions. This is the size of the possible loss. Order size depends on the possible loss and is calculated for each position.
For
BTC/USD, BTC/USDT, XBT/USD, ETH/USD, ETH/USD (need USD!) Timeframes: 1h and length of price channel = 50 bars or 4h and length of price channel = 12
@youxingxu, You're lying. If you do not write the justification, then your comment will be deleted by the moderator
CUBYC
⋅
@Noro, He is not mate, "lotsize" is the input from line 12 and has no use, you either forgot to add his purpose in the code or can be deleted as is confusing, other that that great work, love it!
EVFelix
⋅
Добрый день! Спасибо за интересный продукт, не могу его найти в публичных стратегиях на TV, это платный инструмент?
@ROBO_Trading, Подскажите пожалуйста насчет риск менеджмента,стандартный риск 2% на сделку,но в сделках стратегия выставляется в каждую сделку как 100% от депа