Hello! I would like to know how can I get average of moving average difference. I have this but not working. for ( int i= 0 ; i< Bars ; i++) { double EUR_MA= iMA ( "EURUSD" , 0 , 1 , 0 , MODE_SMA , PRICE_CLOSE ,i);
Hello! I would like to know how to get every last Bid price of EURUSD, GBPUSD and EURGBP on EURUSD chart . For now I have: double EU1 = MarketInfo("EURUSD",MODE_BID); double GU1 = MarketInfo("GBPUSD",MODE_BID); double EG1 =
Hello! Is there any better/smarter way to increase/decrease lot size every 100$ by 0.05lot? For now I have this, but I don't like it. Any better way? Thank you! if (AccountBalance()< 300 ) Lots= 0.1 ;
Hello! I would like to know how can I get this zigzag indicator last 3 numbers. I don't care if indicator repaints I just need these numbers. Any idea how to get this 3 numbers to use them with EA? Thank you! Here is source code: #property
Hello! I would like to write an EA which will set pending orders . I will set pending orders manualy. Let's say at 1.3000 BuyStop and 1.2950 SellLimit (curreny price is below). When/if pending orders are reached nothing happened. When pending order
Hello! I would like to know what you think about this "strategy". We open trade (buy or sell it is not important) without TP and SL. Then if we get to profit we previous chose we close order if it gets to loss we previous chose we open
Hello! Does anyone have or know how to write such indicator. It should draw trend line on chart from x time candle close to y time candle close. Thanks
Hello! Does anybody know how to do it? I allready google (https://sites.google.com/site/marketformula/mt4-help/how-to-remove-a-mt4-script-from-a-metatrader-chart ) for this but it does not work. Thanks
Hello! I write and EA thet opens multiple buys and sell. It opens new buy every time last opened buy is x pips in profit and vice versa for sell. Problem I have is that when there are important news the EA can't open trades fast enough and sometimes
Hello! Does anyone have tutorial/settings/properties how to get hMailServer to work with MT4? Is there any other/better solution? I had gawab and it worked great but it not anymore. :( Thanks
Hello! SMTP server: smpt.gmail.com SMTP login: [email protected] SMTP password:************ From: [email protected] To: [email protected] Gmail and MT4 works on laptop (Win7) but not on other computer (Win XP). Both computer have same internet
Hello! Does anybody know how to write step trailing stop? It must move SL every x pips and not every tick . Example: +10 profit --> SL=OrderOpenPrice, +20 profit --> SL=OrderOpenPrice+10, ... Thanks
Hello! Can anyone tell me where is the problem? Thanks! for ( int cnt4= OrdersTotal ()- 1 ;cnt4>= 0 ;cnt4--){ // I also try: for(int cnt4=0;cnt4<OrdersTotal(); cnt4++) OrderSelect
Hello! I want my EA to open new order when price is x-pips from last open order. EA opens buy when price is x-pips over last candle close. Then I want to open another buy when price is x-pips over from last open buy. I try like this but doesn't work
Hello! How can I make option of drawing arrow or line? I tried like this but it does draw arrows but not lines. Any idea? extern int Style=1; int init(){ if (Style== 2 ){ SetIndexStyle( 2 , DRAW_ARROW
Hello! This code works ok. Order has no TP and no SL it closes when adxplus and adxminus cross. extern bool Close_at_ADX_change=true; if (adx>ADX_more_than && adxplus<adxminus && Close_at_ADX_change ){
Hello I have question about adx values in array. With Sar it works but with adx doess not. Any idea? If I delete "adx[i]>20" I get alerts and arrows otherwise not. Is there any other way to store adx values into array. for ( int i =