KeyRevLX

Description

The KeyRevLX strategy generates a Long Exit signal when Key Reversal occurs.

For the Long Exit strategy, a bar is considered Key Reversal if it has:

  • High price greater than that of several previous bars;

  • Close price lower than that of the previous bar.

In the event of Key Reversal, this strategy generates the Long Exit signal for the next bar.

Input Parameters

Parameter Description
length The number of preceding bars whose High prices are compared to the current High.

Backtesting is the evaluation of a particular trading strategy using historical data. Results presented are hypothetical, and there is no guarantee that the same strategy implemented today would produce similar results.

Technical analysis is not recommended as a sole means of investment research.

For educational purposes only. Not a recommendation of a specific security or investment strategy.