Forum

iSAR function issue

Hi All, I am using iSAR function in my EA to get the SAR value of last 3 bars. Here is the code I am using. SetIndexBuffer ( 0 ,indSAR, INDICATOR_DATA ); indsar_handle = iSAR ( Symbol (), Period (), 0.04 , 0.2 ); if (indsar_handle > 0 ) { ArraySetAsSeries (indSAR, true ); }

Historical tick data in an indicator

Hi, I am trying to create a custom indicator which uses tick data (Ask and bid price) to show it as a graph in a separate window. How can I plot the values of historical tick data and keep adding to it the new tick data at real time? I am using OnCalculate function to get the current tick data but

Invalid Filling type error with FxPro demo account

Hi, I have created an EA which works well for meta quotes demo account. The same EA gives error 10030, invalid filling type, when I use FxPro demo account. I tried using FOK as well as IOC, none of them work. I am using CTrade standard class library to place order. I checked with FxPro on supported

Strategy Optimisation for metatrader 5 showing same result for all combinations

Hi, I used optimisation functionality of strategy tester in metatrader 5 and used 3 input variables of EA with start,step and stop values. After the test, it showed the same level of profit for all the combinations. Is it something wrong here? I was expecting different profit/loss at different

MetaQuotes Demo account - cannot plane order on metals

Hi, ‌I‌ am new to meta trader 5. I have downloaded and opened a demo account with metaquotes. I am able to see the charts for metals (Gold and Silver) but unable to place an order. Is there any seeting I need to change to enable that? ‌ R‌egards D‌ilip