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
Can you tell me how to subscribe to a signal that has currency pairs with a suffix such as EURUSD.I, EURUSDf, etc.
Tell me how to subscribe to a signal that has currency pairs with a suffix such as EURUSD.I, EURUSDf, etc.
Only open an account with a broker who names financial instruments in the same way. For example, at a broker with which the signalman works. There is no other way.
Taakoy question: if I've created an EA, which trades profitably (about 500% (demo) a day), then how to sell it profitable - FULL or one for each license? And where can it be sold to be transferred to the card? There is a demo for a profit of $ 100 a day.
Good afternoon!
Can you tell me what kind of comparison this is?
if(type==(long)POSITION_TYPE_BUY)
Why is (long) preceded by POSITION_TYPE_BUY ?
The entire fragment looks like this
long type=PositionGetInteger(POSITION_TYPE);
if(type==(long)POSITION_TYPE_BUY && rt[0].open>ma[0] && rt[0].close<ma[0])
signal=true;
Good afternoon!
Can you tell me what kind of comparison this is?
if(type==(long)POSITION_TYPE_BUY)
Why is (long) preceded by POSITION_TYPE_BUY ?
The entire fragment looks like this
long type=PositionGetInteger(POSITION_TYPE);
if(type==(long)POSITION_TYPE_BUY && rt[0].open>ma[0] && rt[0].close<ma[0])
signal=true;
The code you cited is not correct at all!
It should be like this:
The code you gave is not correct at all!
It should be like this:
The code is taken from the Moving Average Expert Advisor. It's on line 147.
Also, there is an article on the forum, where this Expert Advisor is analyzed https://www.mql5.com/ru/code/1921. The same code fragment is in section "3.3. CheckForClose() Function".
I can't understand why the long is specified ?
The code is taken from the typical Moving Average Expert Advisor. It is located on line 147.
There is also an article in the forum where this Expert Advisor is analyzed https://www.mql5.com/ru/code/1921. In the article, in paragraph "3.3. CheckForClose() Function", there is also this piece of code.
I can't understand why the long is specified ?