entry based on bar open strategy

Strategies are published here.

Moderator: admin

entry based on bar open strategy

Postby Alexander.Gettinger » Mon Sep 05, 2011 11:27 am

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
Alexander.Gettinger
FXCodeBase: Confirmed User
 
Posts: 3785
Joined: Wed Mar 31, 2010 9:40 pm
Location: Russia, Omsk

Re: entry based on bar open strategy

Postby jgwill » Fri Sep 09, 2011 8:14 am

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
jgwill
 
Posts: 23
Joined: Tue Aug 30, 2011 9:58 pm
Location: Maliotenam, Canada

Re: entry based on bar open strategy

Postby LordTwig » Mon Sep 12, 2011 8:03 am

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
Cheers
LordTwig
LordTwig
FXCodeBase: Confirmed User
 
Posts: 157
Joined: Fri Mar 12, 2010 3:15 am

Re: entry based on bar open strategy

Postby jgwill » Tue Sep 13, 2011 10:50 am

Good idea for the amount of trade. :)
jgwill
 
Posts: 23
Joined: Tue Aug 30, 2011 9:58 pm
Location: Maliotenam, Canada

problems on managed accounts

Postby BULANEL » Fri Sep 30, 2011 1:15 am

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?
BULANEL
 
Posts: 1
Joined: Fri Sep 30, 2011 12:57 am

Re: entry based on bar open strategy

Postby vaguthun » Sun Oct 30, 2011 3:45 am

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
vaguthun
 
Posts: 3
Joined: Thu Oct 27, 2011 12:10 pm

Re: entry based on bar open strategy

Postby ronald3rg » Tue Dec 06, 2011 10:01 am

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
Right place at the right time

3Rg
ronald3rg
 
Posts: 39
Joined: Tue Oct 18, 2011 6:12 pm
Location: New York

Re: entry based on bar open strategy

Postby Apprentice » Wed Dec 07, 2011 3:39 am

Your request is added to the developmental cue.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: entry based on bar open strategy

Postby taypot » Thu Dec 08, 2011 5:25 pm

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.
taypot
 
Posts: 9
Joined: Fri Oct 21, 2011 2:50 am

Re: entry based on bar open strategy

Postby taypot » Fri Dec 09, 2011 2:40 pm

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.
taypot
 
Posts: 9
Joined: Fri Oct 21, 2011 2:50 am

Next

Return to Custom Strategies

Who is online

Users browsing this forum: No registered users and 19 guests