Pair trade for crypto with inputs: * length of correlation and moving average * trade pair * spread threshold to enter long / short * spread threshold to exit long / short
Pair trade with inputs: * length of correlation and moving average * trade pair * spread threshold to enter long / short * spread threshold to exit long / short
It is a long only strategy. 1. Buy when price breaks out of the upper band. 2. Exit has two options. Option 1 allows you to exit using lower band. Option 2 allows you to exit using moving average. 3. Option 1 preferred over option 2 if the instrument is highly volatile. 4. Slippage and commissions are not considered in the return calculation.
This script is for learning purposes only This strategy will plot arrows when price breaks so far above/below WMA. The strategy will enter when the price breaks away from WMA. All entries are reversals. Users can set WMA length and source; also the distance of the price away from WMA to enter. Adjustable bracket orders are placed for exit, with trailing stop...
This strategy combines the idea of a bullish or bearish candle engulfing coupled with standard deviation (a 100% increase or a 50% decrease). The exit condition is placed if the percentage increase is achieved or 35<rsi<65. The strategy requires refinement so please test the script and let know what can be incorporated to improve the efficiency.
Simulation 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 ->...