Any questions from newcomers on MQL4 and MQL5, help and discussion on algorithms and codes - page 57
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
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
I'm sorry, I need a choice of risk percentages. I just want to open the biggest possible lot in increments of up to 0.01
Well, that's the percentages.
{
Comment( cLot(100) ); // 100%
}
At least read the code a little bit, the variables are in normal language.
Well, that's the percentage
{
Comment( cLot(100) ); // 100%
}
M)))))I don't need any % at all. I need to enter the market at the maximum possible
Isn't 100% the maximum?
Please do the following to open a tester and check on a 3000 account on Euro NZD with 1:50 leverage what will be the lot with your formula ...very please
Just checked and everything is working correctly. At 100% free margin there is 0.4263
As for getting prices from a lower TF, there are CopyRates and similar functions for each price individually.
It is copied into an array, then in the cycle the time is compared to the time of a candle of a high TF, if the low candle fits, then the price is calculated in the indicator.Screenshots of the MetaTrader trading platform
EURGBP, W1, 2017.01.05
InstaForex Group, MetaTrader 4, Real
This is what the general candle looks like visually ( this is just a picture ) , blue is the close ( it is shown by the indicator whose code is given above ) , red is the low , green is the high , the question is how to get this low and high .
П. P.S. This is not a quote, it is a reading of the indicator movement in pips
I can't say anything until a function is probably shown here.
Here's
{
Comment( cLot(100)," | ",AccountFreeMarginCheck(_Symbol,OP_BUY,cLot(100)) );
}