Attachments forums

List of attachments posted on this forum.


All files on forums: 135316

Re: Experiments ...

mladen, Tue May 16, 2017 12:06 am

Dimitri wrote: Mon May 15, 2017 10:48 pm Dearest Mladen and Sanni 123,
Above is based on the same request i did sometime ago. The logic was to: "Calculate the Eventual price THAT could MEET a Specific CRITERIA". My request was based on a Simple Moving Average. In Technical Analysis the Cross of a Moving Average and the Prices, is giving a Signal to Open or Close a Position. Suppose we use a Simple MA, it would be helpful if we could know the crossing point with Prices .... As it is not possible to Predict-Calculate such Price, we can try to calculate it by "making an hypothesis" by imposing following question ... What should be the Close Price of the actual Bar in order to make the MA and Prices to Cross ??? .... The result of such calculation can be used for different purposes, like Take Profit, Stop Loss, Close Position and Open Position ... Using this logic, many similar calculations could be made, like the idea of Sanni123 ... Unfortunately i do not have coding knowledge in order to realize such indicator-calculation ...
Thank you for your attention.
Best Regards
Dimitri
As far as I see this would be it
Try it out (the "prediction" calculation as it is calculated in this example is possible only for SMA - other averages types would have completely different "prediction" calculation). The dotted line is the actual SMA, and the "blue" line is the required price that would cause crossing of the SMA and the price

All files in topic