[Archive!] Any rookie question, so as not to clutter up the forum. Professionals, don't pass it by. Couldn't go anywhere without you - 2. - page 480
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
Help make sense of this Expert Advisor
based on alligator indicator
signal to buy when the green line crosses the blue and red from bottom to top opens a position on the Buy
signal to sell when the green line crosses the red and blue from top to bottom opens a position on the Sell
position closed when StopLoss and TakeProfit
no errors during compilation, but there are errors during testing in the strategy tester
the first error waiting for the string order did not open opened deleted code containing the string string from compiled no errors ran in the strategy tester
works, but opens only Sell position to Buy not want
Could you please look and sign off what is wrong in the code
Help me deal with this EA
alligator indicator
a buy signal when the green line crosses the blue one and the red one crosses from bottom to top, opens a Buy position
a sell signal when the green line crosses the red one and the blue one from the top downwards opens a Sell position
positions are closed when StopLoss and TakeProfit are reached
no errors during compilation, but when tested in the strategy tester there are errors
the first error waiting for the string order did not open deleted code containing string from compiled no errors run in the strategy tester
works, but opens only positions on Sell on Buy does not want
Couldyou please look and write what is wrong in the code
look at the opening lines:
Now look at the specification of the OrderSend function itself (see description here https://docs.mql4.com/ru/trading/OrderSend)
and check if the parameters are still there
Let there be no doubt about my literacy
Not putting punctuation marks is my binge, that's all.
When you put your "don't punctuate" binge into practice, don't be surprised to find your questioning posts frequently ignored.
People also have a habit of respecting themselves.
They also have a habit of respecting their own language.
iCustom()
https://book.mql4.com/ru/samples/sharedThank you, but I didn't find a solution there, I need to impose bollinger on rsi, you can do it manually, but how to do it programmatically?
Bollinger is MA pushed up and down on StdDev. You can do it in two ways.
1. If you are happy with the integer deviation change of Deviat, you can use the iBandsOnArray function
2. If you also need to count decimal fractions of Deviat, you will have to use the iMAOnArray and iStdOnArray functions
It looks as follows in the code:
When you implement your "don't punctuate" bias, don't be surprised that your questioning posts will be frequently ignored.
People also have a tendency to respect themselves.
They also have a habit of respecting their own language.
And doubts arise anyway - "about my literacy (education)".
In the code, it looks like this:
When you implement your "don't punctuate" bias, don't be surprised that your questioning posts will be frequently ignored.
People also have a tendency to respect themselves.
They also have a habit of respecting their own language.