[Archive!] Any rookie question, so as not to clutter up the forum. Professionals, don't pass it by. Couldn't go anywhere without you - 2. - page 87

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Transferred from a separate thread.
bercut0077 09.02.2011 18:47
Доброго времени суток. Подскажите пожалуйста, ситуация следующая. Иногда в момент выхода новостей дилер (Альпари) увеличивает значения для установки стоп лос и тейк профит со стандартных 20-30 до 200-300 пунктов. Как можно в советнике до открытии ордера обнаружить изменения? Заранее спасибо за ответ.
Transferred from a separate thread.
if ( MarketInfo(Symb,MODE_STOPLEVEL)>50 )
50 is set at random, as the stop is either to 30 or exactly 300, where Symb is the instrument symbol.
Hello !
Can you please tell me what's wrong ? I am using the tester on GBPUSD - it opens trades as it should be. I am using it on the dollar index DXH1 - it does not open many deals, the error "130" - Incorrect stops. Moreover, it is not clear what is wrong - it opens and does not open in similar situations, but more than that. Spread and stop level for Dollar Index -100 and 200. Spread and stop level for GBPUSD -3 and 4. Prices in the dollar index, e.g. 78.150, in the pair - 4 decimal places. But it is accounted for.
Here is part of the code :
Try to subtract the spread from the SL because the buy opening is at the ask and you actually have a stop of 100, not 200, because the close is at the bid.
Good evening everyone!
I have a simple question, why when I create files, whether it's Expert Advisors or uploading stock information, it is saved in VirtualStore on drive C and not in the root of MetaTrader Finam?
I.e. here -
and not here
Thank you in advance for your feedback!
Transferred from separate branch.
bercut0077 09.02.2011 19:40
it's not clear what is passed to int ai_0 and what happens in check_bar(2) check_bar(1), please make sense of it.
Good evening everyone!
I have a simple question, why when I create files, whether it's Expert Advisors or uploading stock information, they are saved in VirtualStore on drive C and not in the root of MetaTrader Finam?
You need to disable account control and then the files will be saved in the root of the terminal
http://imglink.ru/pictures/09-02-11/f523a5bec03c0aeb73582105d1eb7831.jpg
disable account control and then the files will be saved in the terminal folder
https://www.mql4.com/go?http://imglink.ru/pictures/09-02-11/f523a5bec03c0aeb73582105d1eb7831.jpg
thanks))
Try to subtract the spread from the SL as well, because the buy opening is on the asc, and in fact your stop is not 200, but 100, because the close is on the bid.
Hello. Please help. I uninstalled the mt and all the indicators along with it, all of them. Now I installed it and everything is still there. What should I do? Maybe there are copies of indicators and everything else stored somewhere?