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.
Mã được bảo vệ
Tập lệnh này được xuất bản mã nguồn đóng và bạn có thể sử dụng một cách tự do. Bạn có thể yêu thích nó để sử dụng nó trên biểu đồ. Bạn không thể xem hoặc sửa đổi mã nguồn.
Thông báo miễn trừ trách nhiệm

Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.

Bạn muốn sử dụng tập lệnh này trên biểu đồ?