[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 589
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
scripts are indistinguishable from EAs...
Sometimes scripts use #property show_inputs, to display a dialog with parameters, as in EA (it's there as a matter of course), but it's hard to tell the difference...
Can you suggest an algorithm... We need to find the time of high and low of the high timeframe in the low timeframe.
Can you suggest an algorithm... You need to find the time of high and low of the high timeframe in the low timeframe.
Remember or immediately use i - the index found.
And iTime(NULL,TF2,i) will be the time.
Didn't hold out until the morning. It got a little better, but the order bloom placements could not be avoided. How can I set up a single order at the required condition? You mentioned: No, that would not work. Only through analysis of the order history - how should we do that or what else is suitable?
like this
I've asked this question before, but now I need it again, to calculate the maximum volume to open a position. I write it this way:
But Max_lots equals zero all the time... I don't know, may be someone knows more competent construction of calculation of such a thing?
like this
I filled all iBarShift function values (compilation caused error before), int i has already been declared above. I tried to remove this replay and replace it with j for the sake of experiment, but it didn't work - I got multiple order open/close on some bars. Below is the code with opening conditions, maybe I have messed up something. What else can we do?
I filled all iBarShift function values (compilation caused error before), int i has already been declared above; I tried to remove this replay and replace it with j for clean experiment; it didn't work - I got multiple order open/close on some bars. Below is the code with opening conditions, maybe I have messed up something. What else can we do?
1. What is the Total variable, where is its value assigned?
2. It would be better to put else before the second if(Total==0 if(
1. What is the Total variable and where is its value assigned?
This is based on the example from the article Simple Expert: https://book.mql4.com/ru/samples/expert
alsu:
2. Before the second if(Total==0 it's better to put else if(.
It didn't help. alsu, sorry for the intrusiveness, but I really want to figure it out (bring it to an end).
no big deal.
try to commit /* */ piece of code from simple EA, and replace Total with orders_total - a variable we declared ourselves.