애버리지 트루 레인지 (ATR)
Default Strategy Inputs (Forex / Crypto)The code in this post contains a set of default strategy inputs I use in new projects / backtests in Tradingview.
Full code commentary is available on the Backtest-Rookies website. To comply with house rules, I cannot post the direct link here.
Features
Trade Direction: So that you can limit the strategy for long only, short only or trade in both directions. It is important to note that when you select “Long Only”, you will still see Short signals on the chart. However, they are only used to close a position rather than reverse it. This is the default behaviour for strategies. The same applies to “Short Only”.
Date Ranges: So that you can isolate backtesting to specific periods of interest such as bull or bear markets.
Sessions: So you can easily get an idea of the expected results during your own session. You may also notice that performance of the strategy varies depending on which session it is deployed in.
Some example stop losses: It is not an exhaustive list but it should be enough to provide some inspiration for different types of stops that you can experiment with.
Happy Scripting. I hope the community finds it useful.
Gunbot PingPongSimulation of Gunbot PingPong strategy useful for fine tuning settings and backtesting. First load the instrument and chart period you are wanting to trade and note the general low and high prices. You will need these for "dialing in" your PingPong Buy and Sell prices once you load the indicator. Defaults are set for current USDT-BTC prices.
In Pine Editor -> Open "Gunbot PingPong" -> Add To Chart -> On Indicator -> Format -> Input your desired settings to test.
Red = PingPong Sell Price
Green = PingPong Buy Price
NOTICE: By requesting access to this script you acknowledge that you have read and understood that this is for research purposes only and I am not responsible for any financial losses you may incur by using this script!
AP_PatternsSysCreator: Andrew Palladino
Date: 10/22/2017
Strategy Name: Pattern Classifier System.
Description:
The strategy automatically classifies common price patterns using price fractals an trades them with an ATR based risk management strategy.
The following patterns are currently supported:
Symmetrical Triangle Breakout Long or Short
Ascending Triangle Long
Descending Triangle Short
Ascending Wedge Short
Descending Wedge Long
Future releases will include:
Rectangle Breakouts Long and Short
Head and Shoulders Patterns
The user has the ability to turn on or off any combinations of the individual patterns above.
Buy/Sell Using CCI and ATRDetermining Buy/Sell Entries by Crossover of two CCI and Wave analysis by ATR.
[STRATEGY][RS]Open Session Breakout TraderEXPERIMENTAL: use at your own discretion.
custom session breakout strategy, it uses a percentage of daily atr to set breakout limits. strategy only viable for intraday timeframes and is suggested under 1hour.





