algozinitech

Price Channel Strategy AZT

Price Channel Pinescript Strategy in TradingView
APIBridge

Strategy Premise
The Price Channel Indicator consists of two lines, called the Lower Price Channel and Upper Price Channel, which indicate potential areas of Support and Resistance.

The Upper Price Channel indicator represents the Highest High and the Lower Price Channel represents the Lowest Low over a selected number of intervals. The distance between the Upper and Lower Price Channels can also be used to determine the trading range for the selected intervals.

Strategy Logic
Long Entry: When Central Line Above The Closing Price, Send LE

Long Exit: Either when SL or Target is hit. If SL/TGT is not hit and Lowest low over the number of intervals Send LX and SE

Short Entry: When Central Line Below the Closing Price, Send SE

Short Exit: Either when SL or Target is hit. If SL/TGT is not hit and the Highest high number of intervals Send SX and LE

Price Channel Strategy Parameters for TradingView Charts

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

Quantity: This is used to specify the trade quantity

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

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

Price Channel Pine script Strategy in Trading View Settings
STEP 1: Download the strategy file here

STEP 2: To add this strategy into your TradingView settings, Open desired chart in Tradingview with normal candlestick ,select desired time frame of the chart. Next, follow these steps: (1) Go to pine editor section, remove the default code, (2) paste the downloaded code, (3) save the file and (4) add to chart. See screenshot below.
สคริปต์โอเพนซอร์ซ

ด้วยจิตวิญญาณของ TradingView อย่างแท้จริง ผู้เขียนสคริปต์นี้ได้เผยแพร่เป็นโอเพนซอร์ส เพื่อให้ผู้ค้าสามารถเข้าใจและตรวจสอบได้ ไชโยให้กับผู้เขียน! คุณสามารถใช้ได้ฟรี แต่การใช้รหัสนี้ซ้ำในสิ่งพิมพ์อยู่ภายใต้กฎระเบียบการใช้งาน คุณสามารถตั้งเป็นรายการโปรดเพื่อใช้บนชาร์ตได้

คำจำกัดสิทธิ์ความรับผิดชอบ

ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมที่ เงื่อนไขการใช้บริการ

ต้องการที่จะใช้สคริปต์นี้บนชาร์ตใช่ไหม?