N bars strategy

Strategies are published here.

Moderator: admin

Re: N bars strategy

Postby ronald3rg » Thu Dec 01, 2011 10:29 pm

Could you add Mandatory 24:00 closing to the original n-bars please. I want trade to enter at begining of day candle and close at end of it entering position based on direction of last candle.

another benefit would be confirmation by mva and or candles on another TF like the 1m-1hr.

Thanks in advance.


i copied and pasted the property from the smoothed nbars but the code doesn't execute as it should and for good reason :) i can read the code understand it but takes me forever to make it work correctly after many times of trial and error
Right place at the right time

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

Re: N bars strategy

Postby Apprentice » Fri Dec 02, 2011 6:10 pm

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

Re: N bars strategy

Postby ronald3rg » Sun Dec 04, 2011 5:04 pm

Is there a reason for the Heiken strategy not executing orders. i got the signal for a short order but it did not enter the position. Please Advice.

i have a US based account
Right place at the right time

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

Re: N bars strategy

Postby Alexander.Gettinger » Wed Dec 21, 2011 8:56 pm

Please, see this strategy.
I added the parameters: Begin time, End time and Close at end.

Download:
N_Bars_Strategy2.lua
(12.94 KiB) Downloaded 982 times
Alexander.Gettinger
FXCodeBase: Confirmed User
 
Posts: 3785
Joined: Wed Mar 31, 2010 9:40 pm
Location: Russia, Omsk

Re: N bars strategy

Postby ronald3rg » Wed Dec 28, 2011 12:20 pm

Thank you Alexander much appreciated
Right place at the right time

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

Re: N bars strategy

Postby ronald3rg » Thu Dec 29, 2011 12:46 pm

Alexander,

i downloaded the new strategy but something is wrong. Trades don't seem to trigger; strategy flat lines



right place at the right time

3RG
Right place at the right time

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

Re: N bars strategy

Postby Apprentice » Mon Jan 02, 2012 4:52 am

Test.png

Make sure to set, Allow Strategy to Trade, to Yes.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36476
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: N bars strategy

Postby amazon1a » Wed Aug 07, 2013 1:56 pm

HI guys, Re: Heiken_AshiSmoothed_N_Bars_Strategy.lua

When I Start this Strategy I do not see a legend on my charts as I do with other Strategies. Also, the Dashboard shows a Green arrow indicating that the Strategy has started, but the word Yes does not show up in the Allow Trading column. I have checked the box to Allow Trading.

Is there a bug or some other problem?

Thanks for all your help
User avatar
amazon1a
 
Posts: 90
Joined: Wed Oct 05, 2011 10:47 am

Re: N bars strategy

Postby amazon1a » Wed Aug 07, 2013 2:58 pm

Hi again,

A followup to my last post. I now see that if I expand the active window I can see the Strategy label. This is not convenient and not necessary with other Strategies. Because I use a layout with 3 windows open, for some reason this Strategy does not show up unless I expand one of the windows.

Is it possible for me to change the location of the Strategy legend or can you suggest a work around?

Thanks, A.
User avatar
amazon1a
 
Posts: 90
Joined: Wed Oct 05, 2011 10:47 am

Re: N bars strategy

Postby Apprentice » Mon Oct 20, 2014 10:44 am

Heiken_AshiSmoothed_N_Bars_Strategy.lua Update.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36476
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

PreviousNext

Return to Custom Strategies

Who is online

Users browsing this forum: Google [Bot] and 69 guests