Home    |    Trading Alchemy Manual    |    Alchemy Functions Index

AlchemyHeikinAshiExit (Function)

AlchemyHeikinAshiExit returns the exit signals of our AlchemyHeikinAshiExit strategy.

The function returns 1 when the AlchemyHeikinAshiExit strategy generates an exit short signal and the function returns -1 when the AlchemyHeikinAshiExit strategy generates an exit long signal.  Otherwise, the function returns 0.

 

AlchemyHeikinAshiExit(OppositeExit,Length,MinConsecutiveBars)

 

Input Name Input Type Input Description
OppositeExit numeric With a setting of 0, the strategy exits in the direction of the Heikin-Ashi trend and with a setting of 1, the strategy exits in the opposite direction of the Heikin-Ashi trend.
Length numeric Specifies the look back length for using an average of the past number of bars, whereas a setting of -1 uses the standard and conventional method of calculating the Heikin-Ashi candle.
MinConsecutiveBars numeric Specifies the minimum required number of consecutive trend bars, before positions are exited.

 

Home    |    Trading Alchemy Manual    |    Alchemy Functions Index