Sagheer Asghar
Sagheer Asghar
Friends

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

Sagheer Asghar
Added topic File Cant open/read file from common directory ?
Hello i am trying to read a file from the common directory but its not working  Here is the code that i am trying : input string FileName= "15767168" ; string Directory= TerminalInfoString ( TERMINAL_COMMONDATA_PATH );   void OnInit ()
Sagheer Asghar
Added topic is it possible to change the magic number of the order while closing it partially ?
I was just wondering if its possible to change the magic number of the remaining order , once its been closed partially ? for example if i have 1.0 lot open and its magic number is 140, now if this order is closed partially (0.3 lots are closed from
Sagheer Asghar
Added topic Is there a way to identify the type of a certain pair ?
I was just wondering if there is any way to identify the type of a certain pair (by type i mean to identify if its currency pair , or indices or crypto pair ) I tried Using this :  Print ( SymbolInfoString ( "XBTUSD" , SYMBOL_DESCRIPTION )); I
Sagheer Asghar
Added topic Risk Based lot calculations for XAUUSD returns wrong value?
Hello  I am trying to calculate Risk based lot size for XAUUSD but its giving me wrong value , and couldnt figure out what i am doing wrong here is my code : extern double RiskPerTrade = 2 ;   extern int StopLoss = 5000 ; //SL points
Sagheer Asghar
Added topic Magic number suggestion needed
I am making a trade copier , and i was just wondering if my approach will work : Terminal A sends and Order a1 to the terminal B ,  string that is received at the terminal B contains : tp,sl,lots,pair and ticket number   Order a1 now I
Sagheer Asghar
Added topic Drawing Trend Line in separate indicator window causing issue
I am trying to draw a trend line in a separate indicator window , but the lines are being drawn in the main window instead of indicator window  What am i doing wrong ? here is my code : #property indicator_separate_window #property
Sagheer Asghar
Added topic FileReadArray() issue
I am trying to Read values from a file but  struggling for past few days (its the first time i am trying to read the file so pardon any mistakes ) I   cant figure out what i   am     doing wrong here. here is the
Sagheer Asghar
Added topic question about Drawing arrows using iBarshift
Hello  I am trying to draw Arrows Based on another indicator's signal from higher timeframe, but the problem i am facing is that it draws the arrow on multiple candles For example :  If I check the arrow visibility on W1 timeframe and have
Sagheer Asghar
Added topic Drawing TrendLine Forward in time
is it possible to draw a trend line forward in time ? for example: from low of candle -5 to high of candle -8 ?  I tried this but its not working since it expects a positive number 
Sagheer Asghar
Sagheer Asghar
Testing demo
Sagheer Asghar
Registered at MQL5.community