bahmanasgerov / Profile
bahmanasgerov
Added topic how to find the Chart Items, including its existing Expert Advisor.
It is necessary to avoid a duplicate working of my Expert Advisor in paralel Charts. For ex, if it is already running in EURUSD chart , then if a user loads it into GBPUSD, it should not work but exit. It is because, my EA is not related to only one
bahmanasgerov
Added topic How to restrict the EA to run with only one symbol, avoiding its accidental running with other symbols?
I need run a certain modules of an EA to be run with only one symbol, let say "EURUSD" and block others ( GBPUSD ) to do the same. For ex, if my robot is used in one symbol (EURUSD), and if it is runnig some module of closing all orders, I need to
bahmanasgerov
Added topic FileWrite - does not add text into the end of file, but replaces the content of CSV file, why?
I need to add some information into the end of CSV or TXT file, but every time I open the file with FileOpen and write the text there, it erases all information and write a new text.. But I need to add the new information into the end of the file
bahmanasgerov
Added topic how to find a number of pips according to equity percentage?
if I need to take 1% if equity as an order target profit, how can I calculate the number of pips (for TP) as a function of Equity percentage? pips = F(equity%)... Any idea? I need to find the formula... bahmanaskerov at yandex dot ru
bahmanasgerov
Added topic How to calculate 1 pip programmatically?
When I read different material, I cannot figure out the exact formula for calculating 1 pip... I mean, number of pips, difference from opening and current price. is it (Current price- Opening price )/point? Please provide the exact formula that will
bahmanasgerov
Added topic How to switch between the charts programmatically?
I need to develop an EA that will process several charts visible in the MT4 screen, like EURUSD-H1, USDCAD-D1, etc. I can switch to each of these charts with such code as: void Charts() {long curr,prev=ChartFirst();int i=0; while(i<100)
bahmanasgerov
Added topic how to run one EA for several charts?
it is easy to develop one ea to be used only in one chart. But how can we use this ea for several charts? It is possible to transition to other charts programmatically and process the things on these charts. But then how to prohibit other
: