You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Yes, that is the idea, but although the code seems right, it does not execute right
Great , might i ask about the 1008 to 63 ? why this pair ?
Great = We are indeed checking the upper line only , add another clause in the if statement for the lower line.
These are just the MA settings I use.
Adding the lower line now will not change the functioning of the calculation. First I need the code to be working correctly and than I can add the lower line condition.
These are just the MA settings I use.
Adding the lower line now will not change the functioning of the calculation. First I need the code to be working correctly and than I can add the lower line condition.
The idea with the lower line is closer to what you are trying to accomplish so i would do that first .
Hi Lorentzos,
Thanks for the work your putting into my request.
The code you send can draws two lines of period 63, but not the lines of the 1008 period, and its the last one that is required. As the code is now, it will never work though because the logic in Line 102 excludes every possibility.
The upper envelope and the lower envelope of a slow period (1008) can never be between the fast period envelopes at the same time.
It is like I explained before, just one of the two slow envelopes either the upper or the lower will be between the fast envelopes at any given time. That is why I road that once the code for the upper slow envelope is working, the code for the lower slow envelope is easily added.
Hi Lorentzos,
I made some changes to your code, and guess what,..... it is working.
Thanks a lot for the help you gave me.
I wish you a very nice evening and prosperous trading.
Robert
Hi Lorentzos,
I made some changes to your code, and guess what,..... it is working.
Thanks a lot for the help you gave me.
I wish you a very nice evening and prosperous trading.
Robert
No problem . Enjoy :)