stevehopwoodforex.com
https://www.stevehopwoodforex.com/phpBB3/
Print view

EA request Heiken Ashi
https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=3263
Page 14 of 17
Author:  milanese [ Mon Nov 25, 2013 7:21 pm ]
Post subject:  Re: EA request Heiken Ashi

Ok here is the version we have too a SL as so far but the bot will close the position on HT HA cross against the position if we are in loss or more as MinTPProfitInUSD in win. Setting Use_HACrossAgainstUsExit to false deactivates this new modul.

Edit:has a bug please download in next posts
Cheers :)

Tommaso
Author:  TraderDesk [ Tue Nov 26, 2013 6:07 am ]
Post subject:  Re: EA request Heiken Ashi

milanese wrote:Ok here is the version we have too a SL as so far but the bot will close the position on HT HA cross against the position if we are in loss or more as MinTPProfitInUSD in win. Setting Use_HACrossAgainstUsExit to false deactivates this new modul.


Cheers :)

Tommaso
Hi Tommaso, first thanks for helping Steve with the site maintenance. :)

Here is a setup that I have been using the EA against. EA runs on 5 minute chart and Higher TF is 30 minute chart.

I notice that when the 30 minute chart HA Line is red(bear) and when 5 minute stochastic crosses 80 but the 5 minute HA Line is BLUE it will not open a sell position. This is good but there are many time on certain currency pairs where I want to sell even if the 5 minute HA Line is blue...

Is it possible to add a variable where I can allow the EA to open a position even if the time-frame it is running on has an opposite color? This will only be allow for the lower time-frame not the Higher time-frame. Using the above example the EA can ONLY open a position in the direction of the HigherTF= but will allow the lower time-frame to open a position based on stochastic level even if the lower time-frame HA Line is opposite to the HigherTF=.

A variable on/off switch would be a great addition if it possible...

Thanks....
Author:  milanese [ Tue Nov 26, 2013 8:18 am ]
Post subject:  Re: EA request Heiken Ashi

TraderDesk wrote:
milanese wrote:Ok here is the version we have too a SL as so far but the bot will close the position on HT HA cross against the position if we are in loss or more as MinTPProfitInUSD in win. Setting Use_HACrossAgainstUsExit to false deactivates this new modul.


Cheers :)

Tommaso
Hi Tommaso, first thanks for helping Steve with the site maintenance. :)

Here is a setup that I have been using the EA against. EA runs on 5 minute chart and Higher TF is 30 minute chart.

I notice that when the 30 minute chart HA Line is red(bear) and when 5 minute stochastic crosses 80 but the 5 minute HA Line is BLUE it will not open a sell position. This is good but there are many time on certain currency pairs where I want to sell even if the 5 minute HA Line is blue...

Is it possible to add a variable where I can allow the EA to open a position even if the time-frame it is running on has an opposite color? This will only be allow for the lower time-frame not the Higher time-frame. Using the above example the EA can ONLY open a position in the direction of the HigherTF= but will allow the lower time-frame to open a position based on stochastic level even if the lower time-frame HA Line is opposite to the HigherTF=.

A variable on/off switch would be a great addition if it possible...

Thanks....
Sure I will do that later ;)

Cheers :)

Tommaso
Author:  milanese [ Tue Nov 26, 2013 9:15 am ]
Post subject:  Re: EA request Heiken Ashi

Ok now we have a new input UseHT, setting this to false the bot uses not the HT check anymore...

Cheers :)

Tommaso
Author:  milanese [ Tue Nov 26, 2013 10:18 am ]
Post subject:  Re: EA request Heiken Ashi

Here is again the version AB as there was a bug in the stoch calculation...

Cheers :)

Tommaso
Author:  TraderDesk [ Tue Nov 26, 2013 1:12 pm ]
Post subject:  Re: EA request Heiken Ashi

Tommaso,

What does this variable do?

StochTF=60;

Does it look at the stochastic on the 60 minute time-frame?

Also I am running TraderDeskHeikenAshiAC with UseHT=false on the 5 minute TF and when stochastic hit 80 it did a buy when it should have sold as HigherTF=30 was HALine RED....

Anyways I will look more into it and see if I can duplicate the mistake...
Author:  milanese [ Tue Nov 26, 2013 1:26 pm ]
Post subject:  Re: EA request Heiken Ashi

TraderDesk wrote:Tommaso,

What does this variable do?

StochTF=60;

Does it look at the stochastic on the 60 minute time-frame?

Also I am running TraderDeskHeikenAshiAC with UseHT=false on the 5 minute TF and when stochastic hit 80 it did a buy when it should have sold as HigherTF=30 was HALine RED....

Anyways I will look more into it and see if I can duplicate the mistake...
it is the TF used for STOCH

Cheers :)

Tommaso
Author:  TraderDesk [ Wed Nov 27, 2013 8:28 am ]
Post subject:  Re: EA request Heiken Ashi

Good morning Tommaso,

When I set the variable to:

UseHT=False

What that should allow me to do is exactly like when it is set to True EXCEPT it will allow the EA to do buy/sell no matter what the color of the HA Line that StochTF= is set to.

Example:

Below are two charts. The first one is the 5 minute chart where I placed the EA and have the following settings:
StochTF=5
StochBuyLevel=30
StochSellLevel=70
UseHT=False
MainEntryOnlyWithHACross=False
UseStochForMainEntryWOHACross=True
HigherTF=30

So below is the 5 minute chart where you can see Price went below the HA Line and it has turned Red. What SHOULD happen is when it hits the StochBuyLevel=30 level is BUY even though the 5 minute StochTF=5 HA Line is RED. It can ONLY buy because it still must make sure that the 30 minute chart HigherTF=30 HA Line is BLUE.
5minute.png
When UseHT=True it should only allow the EA to open BUY positions if the StochTF=5 HA Line is BLUE and
HigherTF=30 HA Line is BLUE

When UseHT=fALSE it should only allow the EA to open BUY positions if the StochTF=5 HA Line is BLUE OR RED and HigherTF=30 HA Line is BLUE

Right now I do not see it doing that...

Thanks....
Author:  milanese [ Wed Nov 27, 2013 8:35 am ]
Post subject:  Re: EA request Heiken Ashi

TraderDesk wrote:Good morning Tommaso,

When I set the variable to:

UseHT=False

What that should allow me to do is exactly like when it is set to True EXCEPT it will allow the EA to do buy/sell no matter what the color of the HA Line that StochTF= is set to.

Example:

Below are two charts. The first one is the 5 minute chart where I placed the EA and have the following settings:
StochTF=5
StochBuyLevel=30
StochSellLevel=70
UseHT=False
MainEntryOnlyWithHACross=False
UseStochForMainEntryWOHACross=True
HigherTF=30

So below is the 5 minute chart where you can see Price went below the HA Line and it has turned Red. What SHOULD happen is when it hits the StochBuyLevel=30 level is BUY even though the 5 minute StochTF=5 HA Line is RED. It can ONLY buy because it still must make sure that the 30 minute chart HigherTF=30 HA Line is BLUE.
5minute.png
When UseHT=True it should only allow the EA to open BUY positions if the StochTF=5 HA Line is BLUE and
HigherTF=30 HA Line is BLUE

When UseHT=fALSE it should only allow the EA to open BUY positions if the StochTF=5 HA Line is BLUE OR RED and HigherTF=30 HA Line is BLUE

Right now I do not see it doing that...

Thanks....

I will take a look for understanding you right, maybe I not got it so far ;)

Cheers :)

Tommaso
Author:  milanese [ Wed Nov 27, 2013 9:05 am ]
Post subject:  Re: EA request Heiken Ashi

Would it be good for you to have a version in that you determinine what you want to use for opening ? A kind of UseHTHA yes no, UseActualTFHA yes no and same for stoch for both entry variants seperat?

Cheers :)

Tommaso
All times are UTC Page 14 of 17