Home | Trading Alchemy Manual | Alchemy Functions IndexAlchemyHeikinAshiEntry (Function)AlchemyHeikinAshiEntry returns the entry signals of our AlchemyHeikinAshiEntry strategy. The function returns 1 when the AlchemyHeikinAshiEntry strategy generates a buy long signal and the function returns -1 when the AlchemyHeikinAshiEntry strategy generates a sell short signals. Otherwise, the function returns 0.
AlchemyHeikinAshiEntry
|
Input Name | Input Type | Input Description |
OppositeEntry | numeric | With a setting of 0, the strategy enters into the direction of the Heikin-Ashi trend and with a setting of 1, the strategy enters into the opposite direction of the Heikin-Ashi trend. |
Reverse | numeric | A setting of 0 prevents reversal entries and a setting of 1 allows reversal entries. |
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 a position is initiated. |
Slow Stochastic Entry Filter: Allows long entries only when the SlowK is above the SlowD, while in oversold territory and allows short entries only when the SlowK is below the SlowD, while in overbought territory. |
||
Stoch_Length | numeric | Specifies the Stochastic length, whereas a value of 0 disables this entry filter. |
Stoch_OverBought | numeric | Specifies the Stochastic overbought territory. |
Stoch_OverSold | numeric | Specifies the Stochastic oversold territory. |
Moving Average Entry Filter: Allows long entries only when price is above the moving average and allows short entries only when price is below the moving average. |
||
MovAvg_Length | numeric | Specifies the moving average length, whereas a value of 0 disables this entry filter. |
MovAvg_Type | numeric | Specifies the moving average type. A setting of 1 uses a simple moving average, a setting of 2 uses an exponential moving average, a setting of 3 uses a weighted moving average, a setting of 4 uses a triangular moving average, a setting of 5 uses a Mid Keltner and a setting of 6 uses a Hull moving average, whereas a value of 0 disables this entry filter. |
TradingStartTime | numeric | Specifies the earliest time of the day to initiate a trade. The format is in military time without the colon, whereas a negative value disables this entry filter. |
TradingEndTime | numeric | Specifies the latest time of the day to initiate a trade. The format is in military time without the colon, whereas a negative value disables this entry filter. |
|