[ARCHIVE]Any rookie question, so as not to clutter up the forum. Professionals, don't pass it by. Can't go anywhere without you - 5. - page 169
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
That's right ... I've been doing that from the beginning (according to the help). Checked again just in case, no change.
And secondly, put the bar index on which you are looking for a fractal:
And secondly, put the index of the bar on which you are looking for the fractal:
Yeah, that's almost a diagnosis for me. (( It's time for a healthy lifestyle. Thank you.
Yes, it's almost a diagnosis for me. (( It's time for a healthy lifestyle. Thank you.
if(Digits==3||Digits==5) TakeProfit *=10;
As an example, I need a script at the beginning of the EA, which will determine which quote DT uses, and depending on 4 or 5 digit quotes, the whole program will work with the selected quote.
Until you learn to catch bugs like this intuitively, it's useless to write more than 3 lines... ;)
As an example, I need a script at the beginning of the Expert Advisor that will determine which quotes are used by DT, and depending on 4 or 5 digit quotes, the whole program will work with the selected quote.
As explained above in details.Predefined variables: DigitsThe number of digits after the decimal point in the price of the current instrument. If EURUSD has 5 digits after the decimal point, Digitswill be 5. If EURUSD has 4 digits after the decimal point, Digits will be 4. If USDJPY has 3 decimal dig its, Digits will be 3. If USDJPY has 2 decimal digits, Digits will be 2. You don't need any script, if you define it in init(). I don't think I've explained it any further...
As an example, I need a script at the beginning of the EA which will determine which quotes DT uses, and depending on the 4 or 5 digit quotes, the whole program will then work with the selected quote.
A lot easier:
You can check with print or comment and see 2, 3, 4 or 5!
Good day.
I have zero programming skills in Meta4! So I found this EA https://www.mql5.com/ru/code/10833 and changed
-Input parameters:
MinLot 0.1
MaxLot 1
TakeProfit 100
Grid 50
A 0.6
Stop false
Delete false
Here is the Expert Advisor for 7 months at 0.1 lot http://i52.fastpic.ru/big/2013/0221/...3a39bd5313.gif
Can someone flip it?
Good afternoon.
I have zero knowledge of Meta4 programming! So, I found this Expert Advisor https://www.mql5.com/ru/code/10833 and changed
-Input parameters to:
MinLot 0.1
MaxLot 1
TakeProfit 100
Grid 50
A 0.6
Stop false
Delete false
Here is the EA for 7 months at 0.1 lot https://www.mql4.com/go?http://i52.fastpic.ru/big/2013/0221/13/e41106236b5b1b498724af3a39bd5313.gif
Can someone flip it?
Why?
The result will not change.
Why?
The result will not change.
I tried flipping in real time with 2 computers and it worked, why can't this process be automated?
When an EA has a Buy price of +50-80 pips, it has a Sell price of -60+75 pips and the same goes for Sell!