Many indicators (like hystogram of the Macd) reach important levels of local maxima/minima that could be useful for trader.
While manual trading does not need a precise formula for finding these levels (since they are visible to the human eye), on the other hand we must define a formula when approaching authomatic trading.
In this field, trigonometrical operators suit at the best sinusoidal function. In simple terms, you have to apply ARCOCOTANGENT formula to your indicator (e.g. Arcctan(Macd_hystogram)).
The Arcctan has the property of reaching level of -n or + n (depending on single situation), when respectvely the indipendent function (= your indicator) reaches local max or min.
This proxy is necessary because many trading programs naturally don't support the calculation of derivatives function.
So writing a rule when the system has to open/close a position when absolute levels of n are reached is your easy last step.
Unfortunately, ProRealTime supports very few trigonometric function, i.e. sine, cosine, tangent, arctan.
In Tradingview, insted, you have the possibility of using such trigonometric functions.
No comments:
Post a Comment