Forum

How to use an protected external indicator?(an specific problem)

Hello everyone, I have an protected indicator which I cannot find its output number to import it in my EA. It shows some number in a graphic window but it seems it has no output. I usually see indicator's numbers in Data window but it has no number shown in it(attached photo). I also try every

How to gat AccountBalance of an specific time?

Is there any code, function or something which is able to return Account Balance of an specific time? For example at the beginning of the day

How I can Have Last working day number?

Hi Suppose that today is MONDAY and I want to number of yesterday. I know I can use DayOfWeek() but if it's MONDAY I cannot do this | DayOfWeek()-1 |, because it returns 0 but I meant 5. And also if yesterday the market was closed what then?! I want to have last working day number. Could anyone help

How to get AccountProfit of an specific time?

How to get Account Profit of an specific time? For example I want to get profit of an account since first day of registering to yesterday. Should I utilize AccountProfit()? How

How can I code this?

I want the EA to place two opposite pending orders in order to what I put below but it makes just the one(first) pending order in both YELLOW or WHITE case. For example in the YELLOW case the EA would place just SELLSTOP(1.2). Please help if know my mistake. if (type == OP_BUY && level <

How can I code this?

I want the EA to place two opposite pending orders in order to what I put below but it makes the same order type in YELLOW or RED case. For example in the RED case the EA would place SELLSTOP(1.2) & SELLSTOP(0.7) not BUYSTOP(0.7). Please help if know my mistake. op = OrderOpenPrice(); sl =

How to put an expert on VPS?

How to put an expert on VPS ? I want to put my expert on a VPS(Virtual Private server). Who could help from the base

problem with ranking

Hi Does anyone knows why I am not able to rank my developer

need help! EA does not work!

int PrevBars; double tp_buy_ord1,sl_buy_ord1,tp_sell_ord1,sl_sell_ord1,pipekolly,pipekolly1,tp_buy_ord2,tp_sell_ord2,tp_doubled,price_ord1,roundpipekolly; #include <stdlib.mqh> #include <WinUser32.mqh> // exported variables extern bool FiveDigitBroker1 = false ; extern bool ClearAllObjects1 = false

I want to know how to get the closing price of 9th later bar

I want to know how to get the closing price of 9th later bar. which function should I use