the way to work around the bug for this specific strategy, altho its not as efficient as it would if both orders activation was possible.
if strategy.risk.allow_entry_in(strategy.direction.all) strategy.exit() and strategy.close_all() doesnt work but if strategy.risk.allow_entry_in(strategy.direction.long) or strategy.risk.allow_entry_in(strategy.direction.short) it works
Enter when price break 55 days high and exit when price break 20 days low
This is only a slight modification to the existing "MACD Strategy" strategy plugin! found the default MACD strategy to be lacking, although impressive for its simplicity. I added "year>2014" to the IF buy/sell conditions so it will only backtest from 2015 and beyond ** . I also had a problem with the standard MACD trading late, per se. To that end I modified the...
My version of ChopBot with a little of Gen Opt. Seems to be good for direction spotting during sideways and uptrend. Works only on 4h HA candles.
Modified the script from from turtle trader to only long when high break 55 days high and sell when low break 20 days low
Simple strategy that buy and sell when RSI is under/above a given thresholds. Take profit is set to $3. Beware this strategy doesn't work with other assets.
Plain 5 min Opening Range breakout. Exits are up to you.
Request for khizon01: (DGAZ) version update.
Request for Khizon01: corrected a issue with the default stoch rsi settings (14 smoothing when it should be 3), can always change back since the 14 settings were better performing at the current chart. added option to just open buy trades or sell trades separately and close were previously swing trade occur. added plot titles.
EXPERIMENTAL: preliminary version note: signals from the Daily timeframe may repaint.
The TRIX indicator smooths price data and then looks at the daily (or whatever time frame is being used) percentage movement of that smoothed price data. This filters out much of the price noise that’s seen on the price chart. TRIX will rise on sustained moves higher in price, and will fall on sustained moves lower in price.
Second version of the CCTBBO strategy. CCTBBO is a price oscillator that fluctuate between -200 and 200 according to price volatility. Value 0 represent mean price - 2 * StdDev and value 100 represent mean price + 2 * StdDev. Signal is generated when oscillator cross over / under it's EMA. Position is closed with trailing stop. Source of the indicator is the...
WARNING: This strategy does not work! Please don't trade with this strategy I'm sharing this strategy for the following three educational reasons: 1. You can easily find 100% strategies, but if they only seem to work 100% on one asset, they actually don't work at all. Therefore never backtest your strategy only on one asset, especially forward testing is...