Help in Exploration in RSI divergence AFL

@ jp_b4u, please note that when you post a formula, you must always include it in the required code tags.

The delays are set using the SetTradeDelays(). See the documentation and search the forum for further details about the correct use (in combination with the BuyPrice/SellPrice, etc.)

In any case, your formula results seem unrealistic since you are using the Zig() function (again, please, search the forum to learn about the problems related to its usage and in general about future quotes leaks).

I suggest using the "Check Code and Profile" tool provided by AmiBroker to make sure you no longer have this type of problem.

image

Here is the result applied to your formula:
image

1 Like