Hi, how do I get the account balance in a demo account? The following gives me 0.....maybe there's another way to call it? AccountInfoDouble ( ACCOUNT_BALANCE ) AccountBalance();
Solution by Keith Watford ObjectCreate ( "Entry" , OBJ_HLINE , 0 , 0 , Ask); ObjectSet( "Entry" , OBJPROP_STYLE , STYLE_SOLID ); ObjectSet( "Entry" , OBJPROP_COLOR , clrGreen ); double DOT_P = ObjectGetDouble ( 0 , "Entry" , OBJPROP_PRICE ); datetime DOT_T = TimeCurrent () ; int x,y; if (
How do I draw MACD in the sub windows from code (MQL4)? I know I can remove the indicator by calling ChartIndicatorDelete. But how do I call it from code
One observation I noticed is that everytime I run the Strategy Advisor, it will come out with different results even though I didn't change the code or parameters. I was using " Every Tick " What is going on? Also, I saw that in the graph, it was losing money in orders #170 And I went to the
Why does it mean it has 85% maximum drawdown? I don't see it on the chart? The green and blue lines are going up
Strategy Tester does not show all the symbols in Market Watch , what should I do
I am new to OOP, and I have read some articles on it, but I do not know how to implement it. an order class has ticket, open_time. MyOrders have 10 tickets in array I would like to call them by MyOrders[0].ticket = 123; how do I do it? int max_order = 10 ; class Order { private : int
Why are some of the trading results under MQL5 signals grey out? not counted in the total growth percentage? Is it something suspicious of the signal provider ? the reason why i'm asking is that i want to subscribe it, and I saw this werid thing. I can't list the signal, my previous post is
<link to signal removed by mod> take this signal for example, it says it's using a cent account. If it didn't say it, I wouldn't know. And it seemed that the initial deposit is $10,000 USD. If it's a cent account, it's only $100 USD
I am copying this signal (DELTA), and I have some trades running where I couldn't find it in the signal? What is going on? Example, 2015.09.11 16.24.02 - gbpusd buy 1.54263 2015.09.11 16.24.03 - cadjpy sell 91.010 2015.09.11 16.24.03 - eurgbp sell 0.73135 2015.09.11 16.24.04 - eurgpb sell 0.73135