[WARNING CLOSED!] Any newbie question, so as not to clutter up the forum. Professionals, don't go by. Can't go anywhere without you. - page 1072
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
while is executed as long as true
in your case True always until sec and Seconds() are equal
more precisely, go like this
while(sec==Seconds()) .....
Anyone! How to change the level of stops in the tester (symbol properties). This morning the level of stops on EURUSD is 300p and is not decreasing. When testing, the advisor works with these parameters and constantly error 130!
What are the stop levels ? If stop-loss and take-profit, they are changed manually in the program or, if they are output to an external variable, in the tester "Expert Advisor Properties" in the "Input parameters" tab.
I can't figure out why it's not working.
I made it to determine the true fractal. The model of a true fractal
counts when the lowest price fell from the highest two days
or 0.618, calculated between the peak and
the lowest price four days ago. It is an up fractal. For the lower one it is the other way round.
For each fractal I check the values of its "krails":
High{3}
Low{5} Low{1}
d=[ High{3}-Low{1} ] / [ High{3}-Low{5} ]
if (0.382<d<0.618) then fractal Up is true and put the value.
The calculation seems to be correct but it does not work. Maybe I marked it wrong.
variables?