Thank you so much ! will try it out and see how it behaves ! 
Posts made by timmyhanke
-
RE: Total profit reduces by x % then close everything.posted in Questions & Answers
-
RE: Total profit reduces by x % then close everything.posted in Questions & Answers
@roar
Hello again !
I have a new question as well,
I have also tried to do one more thing , if the market reverses x pips close all the positions of that type.
So if in buy , it my strategy will buy along the candle but if it goes down like 10 pips I want it to close all buy trades from that ea.
So no total profit this time
I have tried for each buy and sell, - 10 pips from open price then close but it does not seem to do it

Then in my mind it can be fitted with a pip value that the chart has to reach before it takes action .
Hope you can help!
-
RE: Total profit reduces by x % then close everything.posted in Questions & Answers
19 000 trades in 1 year on 1 chart haha , think how valued you would be at your broker haha .. they will earn as much money as you do constantly

But the thing is that it charges profit spikes, and that i wanted to see

-
RE: Total profit reduces by x % then close everything.posted in Questions & Answers
That is really helpful and will keep that in mind !

The example i sent to you was on the eqity part because that was the last ea i changed before i added everything on my 3 brokers and it seems to do something in what i want
Sorry for the amount of entries i have the strategy to powerd by no trade nearby haha
but anyway 

-
RE: Total profit reduces by x % then close everything.posted in Questions & Answers
@roar
That sounded alot
Can't I be made with flags ? Like if a trade is created set the value to false and that it checks if the flag are true before it takes action .
Or something if trade created don't do anything and if it's not true it goes through a turn on block that turns on the section of our profit close, and if it closes it closes the profit section to

-
RE: Total profit reduces by x % then close everything.posted in Questions & Answers
So think that exclude the new position is a must in this one , but i have loaded 3 different eas on 3 different brokers right now to see how they act , the other test with the closing were almost only drawdown and the profit closed at 2-5 $almost every time

So i set up one with the 30 min closing , one with a larger pip value before it starts , and one using the equity instead of profit just to see

-
RE: Total profit reduces by x % then close everything.posted in Questions & Answers
Rorar , i found a problem with the closing part , not the thing that you made , it works , but i am a fan of opening multiple orders in the candle movement direction , so every order opened is a reducement of the total profit , meaning that the -10 % of the profit happends alot .
Fooled around with different settings to see if i could find something that dosnt close the totalprofit if the orders are new and added to the close block , that it only closes orders that are more than 30 minutes old .
But by that i feel that i could miss out on opportunities .Is there a way to reset the total profit every time a order is created so that they dosnt count instantly ?
Tried by attaching modify variables to the closing and opening of the main strategy then tried on trade and added trades is created and attached that to modify variables , even tried to change the variable on the closing and opening on the main starategy too buy nothing worked

-
RE: Total profit reduces by x % then close everything.posted in Questions & Answers
@roar said in Total profit reduces by x % then close everything.:
I think the trade statistics always looks at the whole history, so you wouldn't be able to focus on some x number of history positions
i see , you are an interesting person to ask questions to
if you have any brainstorms coming in to what could be the answear just try it and see if it works
almost all of the bright ideas comes alot after you have thought everything trough 
So no stress about it my friend !

-
RE: Total profit reduces by x % then close everything.posted in Questions & Answers
its a hard question i know

It may be something interesting in condition - trade statistics were there are options to use consecutive losses , gross loss and maximum drawdown , couldnt that be the answear that we are looking for to compair the last trades to the current price ?
Or in fact maybe the eqity is that answear , if the profit is above equity of x trades or since the ea started it should be at zero point again

-
RE: Total profit reduces by x % then close everything.posted in Questions & Answers
oooh i just forgot , i was thinking of something else to , if the current profit is above the last x loosing positions value then close everything , since i got help with a big problem for me i have to ask you yet again

Then you would have so the positions is closing if the price drops and if the profit is above x previous loosing trades value

That should make any ea to improve alot

-
RE: Total profit reduces by x % then close everything.posted in Questions & Answers
I will keep that in mind !

Now i have a couple of billion ea's to try this on ....If you want this only to start working if the current profit is > lets say 10 pips , so that it dosnt close anything too soon i assume that you add a block over everything with profit > 10 pips ?

-
RE: Total profit reduces by x % then close everything.posted in Questions & Answers
thank you so much for your help ! ive been testing so much and now finally thanks to you it works !
You have a heart of gold !

-
RE: Total profit reduces by x % then close everything.posted in Questions & Answers
it works , changed the numbers of it and the stoploss is a must so my strategy can go on if it dosnt get in profit !
Thank you so much !

-
RE: Total profit reduces by x % then close everything.posted in Questions & Answers
One thing that i noticed , that it dosnt close anything at all

-
RE: Total profit reduces by x % then close everything.posted in Questions & Answers
the block 5 changes dosnt show , but i assume that you write 0 in the maxprofit adjust field ?


-
RE: Total profit reduces by x % then close everything.posted in Questions & Answers
If you set up some trading conditions to the closing part and backtest it , do you also get that it closes the trades constantly ?

-
RE: Total profit reduces by x % then close everything.posted in Questions & Answers
I read that the comment function dosnt work in backtest , so maybe thats why ?

does it need the comment block to see and know the value of the maxprofit and ratio variables ? -
RE: Total profit reduces by x % then close everything.posted in Questions & Answers
Changed the strategy a bit so we easier can see what its wrong

