alizalee223

Price Action Trading Strategy

In this strategy, we define the high and low of the previous candle, and then check whether the current candle's high or low is higher or lower than the previous candle's high or low, respectively. If there's a new high, we enter a long position, and if there's a new low, we enter a short position. We also set exit conditions to close the position if the price drops below the previous low or rises above the previous high.

Please note that this is a simple example and should not be used as a standalone trading strategy. It is important to conduct thorough backtesting and consider other factors such as risk management before implementing any trading strategy.
Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.

Want to use this script on a chart?