Any rookie question, so as not to clutter up the forum. Professionals, don't pass by. Nowhere without you - 6. - page 46
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
Hello everyone. I am new to trading, I am sitting on demo with Expert Advisors, but I want to start real with $45. I am testing EAs for now, so I want to use signals. I use MT4. I have selected a list from which I would like you to help me choose the best signal. Here is the list:
https://www.mql5.com/ru/signals/10276
https://www.mql5.com/ru/signals/11021
https://www.mql5.com/ru/signals/6283
https://www.mql5.com/ru/signals/10964
https://www.mql5.com/ru/signals/9649
Good afternoon. help me please help me if the variable sig=1 will remember the balance and not to change its value, no matter how much it will display next, and if sig=1 again to remember the current one please give me the code
if the balance changes, the sex will be equal to the new balance
this is immediately visible if you do the following
pol=AccountBalance();
I made up an Expert Advisor for testing trade, but I cannot figure out one thing...
Bay/sell is opened using maximal and minimal MAs
// Condition for opening BUY position
if(MA_L1<MA_L0&&Ask<=MA_L0&MA_0>MA_1&&HA_up>HA_dw)
// Condition for opening a SELL position
if(MA_H1>MA_H0&&Bid>=MA_H0&MA_0<MA_1&HA_up<HA_dw)
Question: If the position on the current candle is not closed (the conditions have not come), how to close it on the next candle, when it matches MA_0= iMA ( 0, 0, 3, 0, MODE_EMA, PRICE_MEDIAN, 0 );
We have a close condition: crossing the high or low of the current candle, but we need the position to close on the next candle after it is opened.
We can write if ( NormalizeDouble ( MathAbs (MA_0-Ask), Digits )< Point ), but how to fulfill the condition of the second open candle.
If you can answer with code, the example is clearer.
if the balance changes, pol will be equal to the new balance
This is immediately visible if you do the following
pol=AccountBalance();
This code does not check anything. And the pol variable must be declared globally, as well as the sig variable.
well... how to do it... the soment shows the current value of the pol variable
at first, half of the order shows the initial balance
i open an order and my balance is equal to the initial one but if i close in profit or vice versa the balance changes
I need sex to become a new balance under certain conditions and until these conditions are fulfilled, it is equal to the initial balance.
For MQL4 code, use SRC and everyone can figure it out and help you!
Thank you I will know.
well... how to do it... the comment shows the current value of the sex variable
at first, half of the order shows the initial balance
i open an order and my balance is equal to the initial one but if i close in profit or vice versa the balance changes
i need the floor to become a new balance under certain conditions and until the conditions are met the floor is equal to the initial balance
There is a category of people who don't know how to listen, it's almost impossible to help them.
Hello, help me please help me if i need the pol variable to store the balance when the variable sig=1 without changing its value, no matter how long it keeps on displaying, and if sig=1 again i need to store the current one , please tell me the code
agree
Everybody's a smart-ass.
I'm sorry... the thing is, I've been dreading the task for two days...
I wouldn't ask for help.