Hi im developing some money management indicator, im new to this programming language but as Webdeveloper i should be fine to get this indicator rdy.
But i need to fetch some global values if possibile.
I wasnt able to find a list of predefined values, if someone could share me a link to everything available please.
At the moment i need the following values:
-The current effective balance (changing one)
-The leverage of the symbol (if i change chart view to another symbol wich has another leverage it should change)
-The last ~5-10 historie trades profit/loss summed together.
-The minimal Lot size wich can used for the actual chart symbol and the minimal step
Hi and thanks a lot for your fast reply.
I guess account_leverage would be the wrong, because on bitcoin i have a leverage of 2 even tough my account leverage is 30.
The minimal lot size and lot step i can read out too ?
Everything should be here and in Symbol proporties:
Sorry but its not easy to find those things in the manual. One of the badest manuels i came incross as programmer oO.
I edited at the end of my post that i found everything then, no reason to get angry ;D.
I do also checked your code to get the latest trades, but its not working. Overall its for mt4 and there are missing many functions u were using as it look like.
Sorry but its not easy to find those things in the manual.
no reason to get angry
I do also checked your code to get the latest trades, but its not working.
Overall its for mt4 and there are missing many functions u were using as it look like.Its the last thing i need for my moneymanagment indicator/function.
3. I googled a lot of hours and couldnt find this page i posted on #2, it was all i searched for. Then i editet my post and told i found everyhing, as there there was no reason for you to waste your time anymore.
For example if you google "mt5 get balance" you wont find that page i shared above, on php for example if you search something you will get the first page exactly you searched for. Thats what i meaned, with badest manual.
4.The question is for mt5 and was all the time.
6. Missing functions of your mt4 code wich wasnt working for mt5 i meaned.
But its ok im done with everything already, its working better then expected and totally dynamical. To minimize lotsize on multiple history losses isnt as important and can be done very easily manually.
7. The formula, i asked in general section because i tought its better to ask on a new thread and fits better for general, in case anyone searches the formula on google they will find this way better and have not the same problem like me ;D.