Needs a little tweaking - page 7

 
Alexsandr San:

Good luck! Not in an easy job. The function there is profit, set yourself a goal and reach it once a day. and don't get greedy, the market won't run away from you.

What's that? From now on, more details about the function, please!
 
Сергей Дыбленко:
which one is it ? more info about this one from now on please !

at the very top

//+------------------------------------------------------------------+
input string t="-----   Balans Parameters -----";
input double TargetProfit     = 999999.99;// Баланс + Прибыль(прибавить к балансу)
input double TargetLoss       = 0;        // Баланс - Убыток(отнять от баланса)

for example you have 100 units on your balance now. - You predicted everything, calculated everything and set yourself a goal to earn 10 units today.

here it should be like this -

input double TargetProfit     = 110;// Баланс + Прибыль(прибавить к балансу)

there's 100 + 10 is your goal for today.

---------------------------

If you are in demo now ? To test this function, set your balance to a smaller amount and your Expert Advisor will close and delete it.

 

you had 99999999 I made 10 000

Now when I run an EA I need to add 10 000 + the amount I need...for example 50?

Balance - Loss (subtract from the balance) - is that not to drain the entire depo?

And this is for what and how to use it?

input string LotBuy = "0.01/0.02/0.03/0.04/0.05/0.05/0.06/0.07/0.08/0.09/0.0910";
input string LotSell = "0.01/0.02/0.03/0.04/0.05/0.06/0.07/0.08/0.09/0.10";
 
Сергей Дыбленко:

you had 99999999 I made 10 000

Now when I run an EA I need to add 10 000 + the amount I need...for example 50?

Balance - Loss (subtract from the balance) - is that not to drain the entire depo?

I don't know what for and how to use it.

input string LotBuy = "0.01/0.02/0.03/0.04/0.05/0.06/0.07/0.08/0.09/0.10";
input string LotSell = "0.01/0.02/0.03/0.04/0.05/0.06/0.07/0.08/0.09/0.10";

Balance is the figures that you have at the moment in the balance.

balance sheet

your FXFlat will close at 12467 + 10 units when it reaches 12477 and the Expert Advisor will be deleted from the chart where it is located

---------------------

all the same, but it turns out to be negative

12467. - 10 units fall to 12457 and it will close all the positions the same way

input string LotBuy           = "0.01/0.02/0.03/0.04/0.05/0.06/0.07/0.08/0.09/0.10";
input string LotSell          = "0.01/0.02/0.03/0.04/0.05/0.06/0.07/0.08/0.09/0.10";

in this menu you can specify the lot you want to work with, for example if you want to enter 0.01 then you can enter 0.1.

this only affects pending orders

 

ok.....understood...........

I'll try it on the demo and when I completely stabilize the profit, I can go for real!

 

Sash, is it possible to change it a bit? Your button ORDERLIMIT immediately opens BUYLIMIT

I need it to open BUY STOP at once

 

I wanted to redo it myself, but it didn't work... it started failing.

Here I am writing to you.

 
REMOVE THE LIMIT ALTOGETHER.........I ONLY NEED STOP ORDERS
 
Сергей Дыбленко:
LIMIT REMOVE IT ALTOGETHER......... I ONLY NEED STOP ORDERS

and there, there's nothing to redo

------------ it's simple.

at the very bottom it says falsetto limits, the troue stops

input bool   OPLimitStop      = false;    // OP_LIMIT = false; OP_STOP = true;
 
Сергей Дыбленко:
REMOVE THE LIMIT ALTOGETHER......... I ONLY NEED STOP ORDERS

I will now finalise a separate button for stops and limits

Photo by