waza123
waza123
Friends

Add friends via their profile or user search and you will be able to see if they are online

waza123
Added topic Calculate margin for CFD
Formula for CFD to get margin , do not understand how to get Percentage with function ? Margin: Lots * ContractSize * MarketPrice * Percentage/100 If I use MarketInfo(Symbol(), MODE_MARGINREQUIRED) Then if pair is type: Forex (0) MarketInfo(symbol
waza123
Added topic [Q] Minimal SL ?
Is there a mql5 function witch can tell me, what is the minimal Stop Loss for the trade ? I manually calculated that minimal SL for GBPUSD for my broker is 13 pips, if I try to set smaller SL, it gives me error: Invalid StopLoss value. (fixed spread
waza123
Added topic [bug] ObjectDelete
When deleting in cycle objects          int total_objects = ObjectsTotal(chartid);          for(int o=0; o<total_objects; o++){
waza123
Added topic how to calculate swap ?
How to calculate swap if lot size is 0.01 for gbpusd for short/long positions ? I'm now in short position in gbpusd for 0.01 lot, in Trade tap in Swap section i see $0.09 but if I try to get it by this printf("swap: buy: %f ,  sell: %f"
waza123
Added topic Trade Stocks on MT5
Any one know where I can trade Stocks with mt5 ? Link please or name. not CFD Thanks
waza123
Added topic handle onPositionClose
Is there a handle ? onPositionClose(){   // do something } Handle which will check, when broker closing the position by SL or TP, the trigger will launch onPositionClose function and give me the position info
waza123
Added topic mql5 exec binary
How to execute my binary file with mql5 ? something like exec("c:\my_file.exe"); or maybe somehow import a dll which will do this ? please advice the main reason why i need this, i want to create a full workspace screenshot and save it to folder
waza123
Added topic How to get ChartID's in Strategy Tester ?
When I use a several pairs and run it in strategy tester , the two window will be created, EURUSD D1 and USDJPY D1: MqlRates d1[]; ArraySetAsSeries(d1, true); CopyRates("EURUSD", PERIOD_D1, 0, count_bars+1 ,d1); MqlRates d2[]; ArraySetAsSeries(d2
waza123
Added topic MT5 trailing stop, who is controlling it ?
When I set Trailing Stop, who is controlling it ? My software mt5(my computer), or broker
waza123
Added topic strategy tester, leverage 1000 - 2000 - 3000
Is there a way in strategy tester mql5 to modify maximum leverage 500, to 1000 or 3000 ? thanks
waza123
Added topic Mouse Over Bar to show spread
Is there a script , when you mouse over on bar, it will show the bar max spread ? Like in MetaTrader 5 in the data window thanks
waza123
Added topic trigger after position closed ?
Is there a trigger, which will inform me when position is closed by stop loss ? or i have to check every sec for history ? thanks
waza123
Added topic How to compare doubles ?
To compare 1.36 with 1.36 i need to use if(CompareDoubles(x , y)){    // the same } But how to compare like this ? if ( 1.36 >= 1.36 ){ ? Does this bug with compare doubles are only with == ? or with > < too ? thanks the only
waza123
Added topic mql5 Expert advisor onTick()
When I make indicator, I got this params: int OnCalculate ( const int rates_total,                  const int prev_calculated
waza123
Registered at MQL5.community
waza123
Added topic Open Close - do not understand
Please help me to understand why this is happening ? <TICKER>,<PER>,<DATE>,<TIME>,<OPEN>,<HIGH>,<LOW>,<CLOSE> USDJPY,1,20140121,101200,104.5350000,104.5470000,104.5000000, 104.5400000