algozinitech

Center of Gravity Channel Algo Strategy AZT

Strategy Premise

This strategy uses COG (Center of Gravity ) for deriving the baseline. the Center of Gravity is used for future price movements and price reversals The COG consists of two lines and is based on the sum of prices over a specified period. A moving average of the COG is plotted along the indicator to act as a signal line. The classic form of the indicator is an oscillator, using a weighted moving average. This enables it to track the price action better than many other channels that make use of MAs or simply “close”. The indicator also marks “squeezes” (stdev bands come inside ATR bands)

In this strategy, we use the ATR Channel. The ATR Channel is a volatility based technical indicator composed of three separate lines. Upper line, lower line, and middle line. The middle line is an EMA of the price. When Price is Below the lower ATR Chanel Send Long signal and Price Above the Upper ATR Channel Send Short signal

Strategy Logic

Long Entry: When Closing Price Below Lower ATR Chanel, Send LE.

Long Exit: Either when SL or Target is hit. If SL/TGT is not hit and Closing Price Above Upper ATR Channel, send LX and SE

Short Entry: When Closing Price Above Upper ATR Channel, Send SE

Short Exit: Either when SL or Target is hit. If SL/TGT is not hit and Closing Price Below Lower ATR Chanel, SX and LE

COG Channel Strategy Parameters for TradingView Charts

1. Length(Mandatory): This is the number of bars used to calculated Ex: 14 à previous 14 candles are used.

2. Mult: Multiply By Length

3. Quantity: This is used to specify the trade quantity

4. Custom Stop Loss in Points: Movement in chart price against the momentum which will trigger exit

5. Custom Target in Points: Movement in chart price against the momentum which will trigger exit

Setting Up Alert

Before setting up an alert make sure that You have selected the desired script, timeframe, strategy settings, API bridge is configured and running. Click in settings add alert and paste {{strategy.order.comment}} in message box.

Important: do not change any settings during live trading.
Script protégé
Ce script est publié en code source fermé et vous pouvez l'utiliser librement. Vous pouvez le préférer pour l'utiliser sur un graphique. Vous ne pouvez pas visualiser ou modifier son code source.
Clause de non-responsabilité

Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.

Vous voulez utiliser ce script sur un graphique ?