Forum

Failing upload to market

Hi My ea runs fine with zero errors on demo but fails uploading to market I use 2 bools to check the correctness of volume and money for trade I get different validation errors If I start with 0.01 lot, the error is no trade operations but if I start with 1 lot, it opens trades but shows error not

property strict troubles

I have added background zones to my trading system and works fine but, not with property strict I get 2 errors in code below - k is undeclared identifier and complicit conversion from number to string on second line Any advice? for (int k = i; k<Bars-1; k++) if (state[k]!=state[k+1]) break;

Counting Buy and Sells for specific pair

My grid ea uses count buy and sells and close all in profit It works perfectly on 1 pair When 2 or more pairs is loaded it gets confused Is it possible to count only for a specific pair? Please advise what must be added and where in the code below int Count_Buy(){ int OpenBuyOrders=0; for(int

Please help with EA code

Hi Sorry for this question maybe it's an easy one I use the OrderSend function to open a sell stop X distance from price OrderSend (_Symbol,OP_SELLSTOP,0.05,Ask-100*_Point,3,NULL,NULL,NULL,778,0,Red); Now I want to open a Buy Stop but only when the above Sell Stop is triggered and X points from sell