[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 140
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
Probably not determined by lot size after all IMHO. What is the mathematical relationship between these parameters?
MARGIN_REQUIRED = LOT_SIZE*K/LEVERAGE,
where K is the current price of the instrument's base currency against the deposit currency, i.e. if the instrument is EURUSD and the account is in roubles, then K is EURRUR
1) leverage 2) current price 3) lot size
Thanks to your hint, I think I've found the answer:
MODE_MARGINREQUIRED = 1 lot size / leverage * current price
Example:
MODE_MARGINREQUIRED = 100000 / 500 * 1.2615 = 252.3
Cheers! And thanks!
How to set CC.mq4 indicator parameters correctly ( https://www.mql5.com/ru/articles/1464 ) in iCustom?
There are too many parameters.
I did as shown below, but I have some doubts.
The essence of the EA is as follows: We use only the RSI indicator, or rather two RSI indicators with different periods (for example 14 and 17)! Well, here are the actual trading conditions:
Buy entry: When two indicators RSI with periods of 14 and 17 cross simultaneously and close above 30 level from the bottom up....
Enter to sell: When two RSI indicators with periods of 14 and 17 cross simultaneously and close below 70 from above downwards....
now for the stops and profits: stop loss 50 pips from the opening and profit 40....
Help YOU PEOPLE!!! I will personally test and fit each pair later.... the results will be posted here....
How to set CC.mq4 indicator parameters correctly ( https://www.mql5.com/ru/articles/1464 ) in iCustom?
There are too many parameters.
I did it as shown below, but I have some doubts.
Guys help plz.... I know it's easy to implement an EA when you know what to do and how to do it....
The essence of the EA is as follows: We use only the RSI indicator, or rather two RSI indicators with different periods (for example 14 and 17)! Here are the actual trading conditions:
Entry to buy: When two indicators RSI with periods of 14 and 17 cross and close above 30 upwards simultaneously....
Enter to sell: When two RSI indicators with periods of 14 and 17 cross simultaneously and close below 70 from above downwards....
now for the stops and profits: stop loss 50 pips from the opening and profit 40....
Help YOU PEOPLE!!! I will personally test and fit each pair later.... the results will be posted here....
prescribe stoploss immediately, if the price reaches the trawl - remove stoploss