Goblin "BiPolar" Edition - page 18

 
bluto:
Hope your holiday was equally nice. All of those mods are certainly possible, but it would require a healthy amount of code changes and analysis and I'm a bit short on time right now.

For #2, I have made some changes that, while they don't match exactly what he's asking for, may come close...

I've put an option in to make the # of pips between orders increase in a Fibonacci sequence...would that work?

sstillwell

 

I am using this on the gbp/usd and eur/usd only in testing. It hasn't lost on the eur/usd.. But gbp is up and down, but still in a lot of profit considering the time its been on... I guess it would work better on slower moving pairs.

Also a question. For the first 10 or so positions, it opened all orders as 0.2, now its doing the sequences of 0.2, 0.4, 0.8, just like the multi lot series...

What is the reason for the change?

 

Ideas

My idea is to make a option with a TargetEquityToCloseAndReset with PROCENT %.

Then you can set 10% (or 5% or 20%) and the system take 10% or 5% or 20% Equity Target and start fresh.

Or in steps. You make 100USD step and the system take the 100 Equity Target and start fresh.

Then we can have 3 different TargetEquityToCloseAndReset.

One who we give the end Equity (we have 500 and we want close with 700).

Yes this is the old, already in system.

One with % (we have 500 and we want 10% then at 550 is the Equity takeprofit. And Reset.).

One with steps (we have 500 and we want to Equity takeprofit (and reset) all 100USD, then we need to set the step at 100.)

And is good to have a option to say: "After the target freshstart or stop?" for runing one time at one day on a server.

my english

 
sstillwell:
For #2, I have made some changes that, while they don't match exactly what he's asking for, may come close...

I've put an option in to make the # of pips between orders increase in a Fibonacci sequence...would that work?

sstillwell

I'm interested.

Can we have the code ?

Thanks.

 

Is it normal?

After putting the EA on 1hr chart and load the template.

2006.12.27 23:08:29 Turbo_JVEL EURUSD,H1: initialized

2006.12.27 23:08:29 Turbo_JVEL EURUSD,H1: loaded successfully

2006.12.27 23:08:29 Turbo_JMA EURUSD,M15: initialized

2006.12.27 23:08:29 Turbo_JMA EURUSD,M15: loaded successfully

2006.12.27 23:08:29 Turbo_JRSX EURUSD,H1: initialized

2006.12.27 23:08:29 Turbo_JRSX EURUSD,H1: loaded successfully

2006.12.27 23:08:28 Turbo_JMA EURUSD,H1: initialized

2006.12.27 23:08:28 Turbo_JMA EURUSD,H1: loaded successfully

2006.12.27 23:08:28 Turbo_JMA EURUSD,H1: initialized

2006.12.27 23:08:28 Turbo_JMA EURUSD,H1: loaded successfully

2006.12.27 23:08:28 Turbo_JMA EURUSD,H1: initialized

2006.12.27 23:08:28 Turbo_JMA EURUSD,H1: loaded successfully

2006.12.27 23:08:25 Goblin BiPolar Edition EURUSD,H1: initialized

2006.12.27 23:08:25 Goblin BiPolar Edition EURUSD,H1 inputs:

The Turbo_JMA was still load at M15, is it normal?

 
wilson1668:
After putting the EA on 1hr chart and load the template.

2006.12.27 23:08:29 Turbo_JVEL EURUSD,H1: initialized

2006.12.27 23:08:29 Turbo_JVEL EURUSD,H1: loaded successfully

2006.12.27 23:08:29 Turbo_JMA EURUSD,M15: initialized

2006.12.27 23:08:29 Turbo_JMA EURUSD,M15: loaded successfully

2006.12.27 23:08:29 Turbo_JRSX EURUSD,H1: initialized

2006.12.27 23:08:29 Turbo_JRSX EURUSD,H1: loaded successfully

2006.12.27 23:08:28 Turbo_JMA EURUSD,H1: initialized

2006.12.27 23:08:28 Turbo_JMA EURUSD,H1: loaded successfully

2006.12.27 23:08:28 Turbo_JMA EURUSD,H1: initialized

2006.12.27 23:08:28 Turbo_JMA EURUSD,H1: loaded successfully

2006.12.27 23:08:28 Turbo_JMA EURUSD,H1: initialized

2006.12.27 23:08:28 Turbo_JMA EURUSD,H1: loaded successfully

2006.12.27 23:08:25 Goblin BiPolar Edition EURUSD,H1: initialized

2006.12.27 23:08:25 Goblin BiPolar Edition EURUSD,H1 inputs:

The Turbo_JMA was still load at M15, is it normal?

Yes.

 

making point about take profit window

when the sell orders finally come into profit they are closed even though market continues to move in their favor. another sell order is then opened @.1. The old sell order should be allowed to run. otherwise in my opinion the risk/reward doesnt make sense. this is the only thing i liked about multi-lots, a dynamic take profit window

chart illustrates my point. ignore the buy orders.

Files:
xcvxcv.gif  19 kb
 
piptits:
when the sell orders finally come into profit they are closed even though market continues to move in their favor. another sell order is then opened @.1. The old sell order should be allowed to run. otherwise in my opinion the risk/reward doesnt make sense. this is the only thing i liked about multi-lots, a dynamic take profit window chart illustrates my point. ignore the buy orders.

This is one of the major enhancement features of Goblin II. I never liked the idea in the 10Point3 engine where once one of the orders in the series reaches TakeProfit and is closed by the system, the rest of the open orders are also closed. What should happen through some creative coding is to manage the trailing stops of the remaining open orders and let them run.

The following original 10Point3 code is the culprit - notice that when the loop detects that an order has disappeared due to reaching TakeProfit or StopLoss, it closes the rest:

if (PreviousOpenOrders>OpenOrders)

{

for(cnt=OrdersTotal();cnt>=0;cnt--)

{

OrderSelect(cnt, SELECT_BY_POS, MODE_TRADES);

mode=OrderType();

if (OrderSymbol()==Symbol() && OrderMagicNumber() == Magic)

{

if (mode==OP_BUY) { OrderClose(OrderTicket(),OrderLots(),OrderClosePrice(),slippage,Blue); }

if (mode==OP_SELL) { OrderClose(OrderTicket(),OrderLots(),OrderClosePrice(),slippage,Red); }

return(0);

}

}

}

 

thanks bluto

im glad it is on the drawing board. i believe this is a critical improvement for the longevity of this EA. cheers.

piptits

bluto

the version of multi-lots not 10pts3 that i posted earlier from the MQ website didn't seem to have any bugs. once the take profit point was reached it became the trail-stop and the new tk-prof was adjusted with each movement. if the price accelerated too quickly it would trigger the tk-profit if the price moved slowly the window would continue to trap profits.

i thought it worked nicely.

on the move that i described in my last post goblin put me about 300 play dollars in the green where-as the old multi-lots (not 10pts3) currently has me about 650 in the green and running

 
piptits:
im glad it is on the drawing board. i believe this is a critical improvement for the longevity of this EA. cheers.

piptits

bluto

the version of multi-lots not 10pts3 that i posted earlier from the MQ website didn't seem to have any bugs. once the take profit point was reached it became the trail-stop and the new tk-prof was adjusted with each movement. if the price accelerated too quickly it would trigger the tk-profit if the price moved slowly the window would continue to trap profits.

i thought it worked nicely.

on the move that i described in my last post goblin put me about 300 play dollars in the green where-as the old multi-lots (not 10pts3) currently has me about 650 in the green and running

Is this the expert you are mentioning above for multi=lot trading? The reviews sound pretty good.

https://www.mql5.com/en/code/9330

Reason: