Page 1 of 2

entry based on bar open strategy

PostPosted: Mon Sep 05, 2011 11:27 am
by Alexander.Gettinger
If the price is higher than the open price of more than [PipsCount] opened a BUY order.
If the price is lower than the open price of more than [PipsCount] opened a SELL order.

Download:
Entry_Based_Strategy.lua
(11.81 KiB) Downloaded 1746 times

Re: entry based on bar open strategy

PostPosted: Fri Sep 09, 2011 8:14 am
by jgwill
Hi,

Interesting strategy. I like the idea.

Would that be possible, when a signal is triggered for a said bar that it does not do generate more signal (alert) until next bar.
What I got here is more than one alert poping up if the price varies above/bellow the Pips number specified when in the same bar period.

Thank,

Regards,

JG :D

Re: entry based on bar open strategy

PostPosted: Mon Sep 12, 2011 8:03 am
by LordTwig
Hi,

I partly agree with 'jgwill' need an option to allow only one trade or ''x' or unlimited amount of trades.

Also can you add option to use yesterdays OPEN instead or open of 'x' periods ago? (Will of course need to be aware of non trading days for this options)

Also if you can create indicator for it as well that would be good?
Can the indicator include changing the candle color when a signal is generated?

Cheers
LordTwig

Re: entry based on bar open strategy

PostPosted: Tue Sep 13, 2011 10:50 am
by jgwill
Good idea for the amount of trade. :)

problems on managed accounts

PostPosted: Fri Sep 30, 2011 1:15 am
by BULANEL
hi alexander, your strategy is very helpful, but it does not work on managed accounts. With exactly the same parameters it runs perfectly on individual accounts, but on my account which trades several managed accounts and then distributes the trades, it produces no trades. Do you think it can be fixed?

Re: entry based on bar open strategy

PostPosted: Sun Oct 30, 2011 3:45 am
by vaguthun
Hi
This is something I have been looking for.
Can you Modify this so that it open orders based on a reference candle (may be at a specific time)
example based on the start candle at 14:00 hrs..

And also with the option if the buy order is filled then cancel the sell order.

Regards
Jojo

Re: entry based on bar open strategy

PostPosted: Tue Dec 06, 2011 10:01 am
by ronald3rg
This is the strategy i have been looking for very similar to n-bars strategy. This strategy could be improved by Adding

-mandatory closing 24hr period.
-confirmation by candles and/or moving averages. specially if it can be confirmed on a lower TF
-option to select multiple or single trade. -(big issue with this one tends to give multiple signal for same candle. should only go in once to be effective.)

i believe this should make this an effective strategy to trade just once a day. with the right parameters you could possibly go in the right direction everyday and close out at the end of day.


right place at the right time every time

3RG

Re: entry based on bar open strategy

PostPosted: Wed Dec 07, 2011 3:39 am
by Apprentice
Your request is added to the developmental cue.

Re: entry based on bar open strategy

PostPosted: Thu Dec 08, 2011 5:25 pm
by taypot
I like this strategy but for some reason it doesn't always place the stops. The limits are set as they should be. I am trying to set the stop at 3 pips after optimising and finding that this was a profitable level. Maybe this is too small?

There are also multiple orders running which perhaps I would like the option to stop. At present they are all in profit so it doesn't seem a problem but maybe it would be better to be cautious if I use it on my live account. I think it opens new entries each time it revisits the initial starting level and I have 3 open at present.

Thanks for all your hard work.

Re: entry based on bar open strategy

PostPosted: Fri Dec 09, 2011 2:40 pm
by taypot
Thanks, no need to reply to my last post as I have sorted both problems.

Stop needs to be 4 or more to appear and order needs to be placed "at end of period" to avoid multiples opening.

I am getting good results with this in a ranging market so an indicator that identifies that there is not a trend (ADX<30) may be a useful addition if manually placing trades and using this as a signal.

Or maybe a time constraint so that it only runs at non trending market times.