Algo Trading using 52 Week High Low Strategy
52 Week HL Strategy
In this episode, we will be scripting a Strategy for intraday traders to trade using a simple 52 Week HL. This strategy is back-testable.
So, let’s begin with the rules….
Rules
Buy : We need to buy, If price closes above the 52 Week High
Short : We need to short, If price closes below the 52 Week Low
Simple., isn’t it?
Moving on to the script part.
First, we setting the 52 Week High and Low value in the chart title for easy usage and setting the title.
Then comes the buy and sell signal,
We will buy, If price closes above the 52 Week High
Likewise, We will short, If price closes below the 52 Week Low
For 52 Week high, we will be considering 250 candl es. Considering we have 5 working days a week, we will have 260 working days and we are taking out 10 days for holidays, so 250 candles is good enough.
Last few lines of code is to plot the values to back test report which is not mandatory.
Now, let’s move to backtesting. We can run backtest of this strategy in multiple TFs to check the results (use 15 min TF, long. 40% with 10% drawdown)
Check Out our Script Library to get ready-to-use Algo-Trading Scripts:
[ Ссылка ]
To Join our telegram channel dedicated for Algo Trading, use the following link: [ Ссылка ]
To watch all the episodes of Algo-Trading Series using PineScript, watch:
[ Ссылка ]
To watch our Amibroker Algo-Trading Series, use the below link:
[ Ссылка ]
To watch our Price Action Series from the start, use the below link:
[ Ссылка ]
To watch our Trading Strategies Series, use the below link:
[ Ссылка ]
To Learn more about Trading and Investing, visit our website.
[ Ссылка ]
For daily market updates, join our Telegram Channel:
[ Ссылка ]
Subscribe to our YouTube channel and click the Bell icon to get invitation for our live sessions.
Algo Trading using 52 Week High Low Strategy
Теги
how to do algo trading in Zerodha?how to do algo trading in india?how to start with algo trading in india?how to write algo trading scripts?how to backtest a trading strategy?amibroker tutorial videoshow to use pine script for algo trading?Pine script tutorial videoshow to use amibroker afl for algo trading?Getting started with algo-trading basicsstep-by-step approach to start with algo-trading in IndiaAlgo Trading using 52 Week High Low Strategy