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.
Скрипт с защищённым кодом
Этот скрипт опубликован с закрытым исходным кодом, вы можете свободно им пользоваться. Можно добавить его в избранное и использовать на графике. Вы не можете просматривать или менять его исходный код.
Отказ от ответственности

Все виды контента, которые вы можете увидеть на TradingView, не являются финансовыми, инвестиционными, торговыми или любыми другими рекомендациями. Мы не предоставляем советы по покупке и продаже активов. Подробнее — в Условиях использования TradingView.

Хотите использовать этот скрипт на графике?