EA request Heiken Ashi

Place your new trading idea here to see if someone can automate it.
Locked
TraderDesk
Trader
Posts: 479
Joined: Wed Nov 16, 2011 2:12 pm
Location: Estonia

Re: EA request Heiken Ashi

Post by TraderDesk »

milanese wrote:OK here you go, I hope this one is near to do what you had explained in your last post

Cheers :)

Tommaso
Tommaso, I did not see the DelayTheEntryForXBars= variable in the EA.... That would delay a buy or sell for x amount of bars after it turned color...

Thanks...
TraderDesk
User avatar
milanese
TechAdmin
Posts: 3293
Joined: Wed Jan 09, 2013 9:02 am
Location: btr rdx, r8 +

Re: EA request Heiken Ashi

Post by milanese »

TraderDesk wrote:
milanese wrote:OK here you go, I hope this one is near to do what you had explained in your last post

Cheers :)

Tommaso
Tommaso, I did not see the DelayTheEntryForXBars= variable in the EA.... That would delay a buy or sell for x amount of bars after it turned color...

Thanks...
in this version it is fixed at 2 bars ;)

Cheers :)
Tommaso
Global Prime is the official SHF broker :yahoo:
Searching for Servers and Workstations with individual configuration?
Just PM
:smile: Click here to go to the BoardKnowledgeBase
NOTE: Cookies and JavaScript are required for the using the board, with full functionality
TraderDesk
Trader
Posts: 479
Joined: Wed Nov 16, 2011 2:12 pm
Location: Estonia

Re: EA request Heiken Ashi

Post by TraderDesk »

milanese wrote:
TraderDesk wrote:
milanese wrote:OK here you go, I hope this one is near to do what you had explained in your last post

Cheers :)

Tommaso
Tommaso, I did not see the DelayTheEntryForXBars= variable in the EA.... That would delay a buy or sell for x amount of bars after it turned color...

Thanks...
in this version it is fixed at 2 bars ;)

Cheers :)
Tommaso

Heheh... okay... wasn't sure but so far it looks like it is working with the 2 bars....... I like.... Next step is to add the DelayTheEntryForXBars= to see if it will work as a variable instead of being fixed at 2 bars...

Also bid/ask buys and sells are looking good now....
TraderDesk
User avatar
milanese
TechAdmin
Posts: 3293
Joined: Wed Jan 09, 2013 9:02 am
Location: btr rdx, r8 +

Re: EA request Heiken Ashi

Post by milanese »

TraderDesk wrote:
Heheh... okay... wasn't sure but so far it looks like it is working with the 2 bars....... I like.... Next step is to add the DelayTheEntryForXBars= to see if it will work as a variable instead of being fixed at 2 bars...

Also bid/ask buys and sells are looking good now....
Here you go..

Cheers :)

Tommaso
You do not have the required permissions to view the files attached to this post.
Global Prime is the official SHF broker :yahoo:
Searching for Servers and Workstations with individual configuration?
Just PM
:smile: Click here to go to the BoardKnowledgeBase
NOTE: Cookies and JavaScript are required for the using the board, with full functionality
TraderDesk
Trader
Posts: 479
Joined: Wed Nov 16, 2011 2:12 pm
Location: Estonia

Re: EA request Heiken Ashi

Post by TraderDesk »

milanese wrote:
TraderDesk wrote:
Heheh... okay... wasn't sure but so far it looks like it is working with the 2 bars....... I like.... Next step is to add the DelayTheEntryForXBars= to see if it will work as a variable instead of being fixed at 2 bars...

Also bid/ask buys and sells are looking good now....
Here you go..

Cheers :)

Tommaso

Awesome.... Looks great so far and the variables are working nicely.... Now I was thinking instead of going to the additional positions maybe we can try to have the EA look at a higher time-frame HA Line color to determine on the lower time-frame to buy or sell... As the additional positions might be more complicated we can have do that after the below step...

For example... I have the EA running on the 5 minute chart and before it will buy/sell it will look at the 30 minute chart to see if the HA Line that is on the 30 minute time-frame is BLUE or RED. If BLUE then it will only do buys on the 5 minute chart and if RED it will only do sells...

Do we need to have open a 30 minute chart with the indicator? Or will the code in the EA on the 5 minute chart be able to do this?

If we can get that working on the 30 minute chart then we should create a variable that will allow us to choose the time-frame whether it is 15,30,1 hour, 4 hour etc....

What do you think?
TraderDesk
User avatar
milanese
TechAdmin
Posts: 3293
Joined: Wed Jan 09, 2013 9:02 am
Location: btr rdx, r8 +

Re: EA request Heiken Ashi

Post by milanese »

TraderDesk wrote:
milanese wrote:
TraderDesk wrote:
Heheh... okay... wasn't sure but so far it looks like it is working with the 2 bars....... I like.... Next step is to add the DelayTheEntryForXBars= to see if it will work as a variable instead of being fixed at 2 bars...

Also bid/ask buys and sells are looking good now....
Here you go..

Cheers :)

Tommaso

Awesome.... Looks great so far and the variables are working nicely.... Now I was thinking instead of going to the additional positions maybe we can try to have the EA look at a higher time-frame HA Line color to determine on the lower time-frame to buy or sell... As the additional positions might be more complicated we can have do that after the below step...

For example... I have the EA running on the 5 minute chart and before it will buy/sell it will look at the 30 minute chart to see if the HA Line that is on the 30 minute time-frame is BLUE or RED. If BLUE then it will only do buys on the 5 minute chart and if RED it will only do sells...

Do we need to have open a 30 minute chart with the indicator? Or will the code in the EA on the 5 minute chart be able to do this?

If we can get that working on the 30 minute chart then we should create a variable that will allow us to choose the time-frame whether it is 15,30,1 hour, 4 hour etc....

What do you think?
The indicator is integrated in the EA, there is no need to attach the indicator at the chart :)
This mod is possible to do, I will first wait if you see some issues with the actual version. As I understand you right, you want the trade decision in the lower TF and controll if the price in the higher TF is on the right side of the HA?

Cheers :)

Tommaso
Global Prime is the official SHF broker :yahoo:
Searching for Servers and Workstations with individual configuration?
Just PM
:smile: Click here to go to the BoardKnowledgeBase
NOTE: Cookies and JavaScript are required for the using the board, with full functionality
TraderDesk
Trader
Posts: 479
Joined: Wed Nov 16, 2011 2:12 pm
Location: Estonia

Re: EA request Heiken Ashi

Post by TraderDesk »

milanese wrote:
TraderDesk wrote:
milanese wrote:
TraderDesk wrote:
Heheh... okay... wasn't sure but so far it looks like it is working with the 2 bars....... I like.... Next step is to add the DelayTheEntryForXBars= to see if it will work as a variable instead of being fixed at 2 bars...

Also bid/ask buys and sells are looking good now....
Here you go..

Cheers :)

Tommaso

Awesome.... Looks great so far and the variables are working nicely.... Now I was thinking instead of going to the additional positions maybe we can try to have the EA look at a higher time-frame HA Line color to determine on the lower time-frame to buy or sell... As the additional positions might be more complicated we can have do that after the below step...

For example... I have the EA running on the 5 minute chart and before it will buy/sell it will look at the 30 minute chart to see if the HA Line that is on the 30 minute time-frame is BLUE or RED. If BLUE then it will only do buys on the 5 minute chart and if RED it will only do sells...

Do we need to have open a 30 minute chart with the indicator? Or will the code in the EA on the 5 minute chart be able to do this?

If we can get that working on the 30 minute chart then we should create a variable that will allow us to choose the time-frame whether it is 15,30,1 hour, 4 hour etc....

What do you think?
The indicator is integrated in the EA, there is no need to attach the indicator at the chart :)
This mod is possible to do, I will first wait if you see some issues with the actual version. As I understand you right, you want the trade decision in the lower TF and controll is the price in the higher TF is on the right side of the HA?

Cheers :)

Tommaso
Yes exactly...That is what I am looking for... Lower TF for the trade and higher TF to make sure the trade is aligned with the bigger trend...

I have been running the EA and so far I see no errors with the current setup.....
TraderDesk
User avatar
milanese
TechAdmin
Posts: 3293
Joined: Wed Jan 09, 2013 9:02 am
Location: btr rdx, r8 +

Re: EA request Heiken Ashi

Post by milanese »

Ok here again you go,with HigherTF you choose the HTF for the trendcheck, OOTB it is 240=H4

Cheers :)

Tommaso
You do not have the required permissions to view the files attached to this post.
Global Prime is the official SHF broker :yahoo:
Searching for Servers and Workstations with individual configuration?
Just PM
:smile: Click here to go to the BoardKnowledgeBase
NOTE: Cookies and JavaScript are required for the using the board, with full functionality
TraderDesk
Trader
Posts: 479
Joined: Wed Nov 16, 2011 2:12 pm
Location: Estonia

Re: EA request Heiken Ashi

Post by TraderDesk »

milanese wrote:Ok here again you go,with HigherTF you choose the HTF for the trendcheck, OOTB it is 240=H4

Cheers :)

Tommaso
So far so good....It looks like the HigherTF= is working... :)

Now we need to come up with away to add additional positions. This might be a tricky part so let's see if I can break it down.

1: If I am running the EA on a 15 minute TF and HigherTF= is set for 240 I would like to add an additional trade if on the 1 minute chart HA Line turns RED by x amount of BARS...

Now this might sound confusing so lets look at this carefully with what we have. We are now looking at three different TF's.

The 15 minute TF where the EA is.
The 240 minute TF HA Line for bigger trend that we follow.
The 1 minute TF HA Line where we look to ADD more positions on the 15 minute chart.

How does this work? Let's say we have the EA on the 15 minute chart with the following settings:
DelayTheEntryForXBars=3
PriceWithinHALine=15
HigherTF=240

Price action goes UP and the HA Line turns BLUE. After 3 BARS with Price within 15 pips of HA Line the EA opens first position. This is what is working now.

After the new position opens up the EA should monitor the 1 minute chart HA Line which would normally be BLUE because 15 minute HA Line just turned BLUE three bars ago.

When the 1 minute HA Line turns RED a BUY position should open up on the 15 minute chart. This is inverse to what the 15 minute EA first BUY does.

So for the second BUY to occur the 1 minute HA Line has to turn RED....

I hope I am not confusing things here.... Let me know if I am....

If you can get this working with the 1 minute chart then after we should look at adding a variable of how many bars to wait once HA Line turns RED before opening the BUY position....

I am trying to keep a common theme of using the HA Line for everything as the strategy I use is using HA Line pretty much for everything.

Thanks....
TraderDesk
User avatar
milanese
TechAdmin
Posts: 3293
Joined: Wed Jan 09, 2013 9:02 am
Location: btr rdx, r8 +

Re: EA request Heiken Ashi

Post by milanese »

TraderDesk wrote:
milanese wrote:Ok here again you go,with HigherTF you choose the HTF for the trendcheck, OOTB it is 240=H4

Cheers :)

Tommaso
So far so good....It looks like the HigherTF= is working... :)

Now we need to come up with away to add additional positions. This might be a tricky part so let's see if I can break it down.

1: If I am running the EA on a 15 minute TF and HigherTF= is set for 240 I would like to add an additional trade if on the 1 minute chart HA Line turns RED by x amount of BARS...

Now this might sound confusing so lets look at this carefully with what we have. We are now looking at three different TF's.

The 15 minute TF where the EA is.
The 240 minute TF HA Line for bigger trend that we follow.
The 1 minute TF HA Line where we look to ADD more positions on the 15 minute chart.

How does this work? Let's say we have the EA on the 15 minute chart with the following settings:
DelayTheEntryForXBars=3
PriceWithinHALine=15
HigherTF=240

Price action goes UP and the HA Line turns BLUE. After 3 BARS with Price within 15 pips of HA Line the EA opens first position. This is what is working now.

After the new position opens up the EA should monitor the 1 minute chart HA Line which would normally be BLUE because 15 minute HA Line just turned BLUE three bars ago.

When the 1 minute HA Line turns RED a BUY position should open up on the 15 minute chart. This is inverse to what the 15 minute EA first BUY does.

So for the second BUY to occur the 1 minute HA Line has to turn RED....

I hope I am not confusing things here.... Let me know if I am....

If you can get this working with the 1 minute chart then after we should look at adding a variable of how many bars to wait once HA Line turns RED before opening the BUY position....

I am trying to keep a common theme of using the HA Line for everything as the strategy I use is using HA Line pretty much for everything.

Thanks....
I think I understand what you mean, you trade this system manual? Because for me it is somewhat a strange strategy that you are describing. I am not sure if it shows really better results as using 2 TF for trading and too, for stacking if it is desired. Sure it is not as complicated to implant this, but I am not sure if we really need the 1M tf or if this would increase results.. in my experience often the simpel way works better as complicated ones..just my opinion

Cheers :)

Tommaso
Global Prime is the official SHF broker :yahoo:
Searching for Servers and Workstations with individual configuration?
Just PM
:smile: Click here to go to the BoardKnowledgeBase
NOTE: Cookies and JavaScript are required for the using the board, with full functionality
Locked

Return to “Ideas for Possible Automation”