EA request Heiken Ashi

Place your new trading idea here to see if someone can automate it.
Locked
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 I removed some part of checking code that could have been the reason for the strange behavior..

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 I removed some part of checking code that could have been the reason for the strange behavior..

Cheers :)

Tommaso
It now opens a position immediately when I apply the EA.... :)
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 I removed some part of checking code that could have been the reason for the strange behavior..

Cheers :)

Tommaso
It now opens a position immediately when I apply the EA.... :)
this can happen because it checks every tick and initializing process could cause that it opens immediatly..that was why I had before made always versions that handle only closed candels..
but will we bring it run like you want it to run, it only question of time :D

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 I removed some part of checking code that could have been the reason for the strange behavior..

Cheers :)

Tommaso
It now opens a position immediately when I apply the EA.... :)
this can happen because it checks every tick and initializing process could cause that it opens immediatly..that was why I had before made always versions that handle only closed candels..
but will we bring it run like you want it to run, it only question of time :D

Cheers :)

Tommaso
I see now....Well I guess we can get to that later... It feels like the EA is getting more responsive but I still see it opening positions after only 2 bars when I have it set for 4. Take a look at the chart and settings to see if that is what you see as well...

Thanks....
prob3.png
You do not have the required permissions to view the files attached to this post.
TraderDesk
TraderDesk
Trader
Posts: 479
Joined: Wed Nov 16, 2011 2:12 pm
Location: Estonia

Re: EA request Heiken Ashi

Post by TraderDesk »

I still see the EA not opening the position until 15 pips AWAY from the HA line. It should be within 15 pips of the HA line.... See the below EURUSD chart where I had the EA open for a while. It would not open until price jump past 15 pips...

Maybe we should chang the variable PriceFromHALine to PriceWithinHALine as well... what do you think?
Thanks...
prob5.png
You do not have the required permissions to view the files attached to this post.
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:I still see the EA not opening the position until 15 pips AWAY from the HA line. It should be within 15 pips of the HA line.... See the below EURUSD chart where I had the EA open for a while. It would not open until price jump past 15 pips...

Maybe we should chang the variable PriceFromHALine to PriceWithinHALine as well... what do you think?
Thanks...
prob5.png
:o now I got what you mean, totally missunderstood by me so far :lol: ok I will change this and too look to resolve this bar problem..

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
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 we will try this one..

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 we will try this one..

Cheers :)

Tommaso
Good morning Tommaso,

The EA is looking better with the updates. I am trying to think of a way to keep things simpler. I can see that it is very easy for this EA to get too complicated for your time and I do not want to take up your valuable time too much.

On the Heiken Ashi indicator would you be able to use the changing of the color where it goes from RED to BLUE and visa-versa for the original new position? So when Price Action goes above/below the HA Line after the close of the next bar it will turn BLUE for bullish and RED for bearish. So the logic I imagine would be like this:

Color turned BLUE - Check
DelayTheEntryForXBars=2 : 2 Bars must be BLUE
PriceWithinHALine=10 :ASK Price is within 10 pips

---------------------------------------------------------

Color turned RED - Check
DelayTheEntryForXBars=2 : 2 Bars must be RED
PriceWithinHALine=10 : BID Price is within 10 pips

The EA should only open a new position with the CHANGE of the color so when I run it the EA will wait until the next change of color. Because I have it looking at pips my thought is we need to look at ticks because if we wait until the close of the bar Price could of changed.
new1.png
Please notice that for BUY we should look at the ASK Price and for SELL it should be BID price.

For now I would want the EA to do just this. No additional buys/sells just the above and when I see it works then we can move to the next step.... Step by step...

Now again if this is taking too much of your time please let me know...I appreciate what you are doing but as you the only one here coding it might be too much with your free time....

Thanks... :)
You do not have the required permissions to view the files attached to this post.
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 we will try this one..

Cheers :)

Tommaso
Good morning Tommaso,

The EA is looking better with the updates. I am trying to think of a way to keep things simpler. I can see that it is very easy for this EA to get too complicated for your time and I do not want to take up your valuable time too much.

On the Heiken Ashi indicator would you be able to use the changing of the color where it goes from RED to BLUE and visa-versa for the original new position? So when Price Action goes above/below the HA Line after the close of the next bar it will turn BLUE for bullish and RED for bearish. So the logic I imagine would be like this:

Color turned BLUE - Check
DelayTheEntryForXBars=2 : 2 Bars must be BLUE
PriceWithinHALine=10 :ASK Price is within 10 pips

---------------------------------------------------------

Color turned RED - Check
DelayTheEntryForXBars=2 : 2 Bars must be RED
PriceWithinHALine=10 : BID Price is within 10 pips

The EA should only open a new position with the CHANGE of the color so when I run it the EA will wait until the next change of color. Because I have it looking at pips my thought is we need to look at ticks because if we wait until the close of the bar Price could of changed.
new1.png
Please notice that for BUY we should look at the ASK Price and for SELL it should be BID price.

For now I would want the EA to do just this. No additional buys/sells just the above and when I see it works then we can move to the next step.... Step by step...

Now again if this is taking too much of your time please let me know...I appreciate what you are doing but as you the only one here coding it might be too much with your free time....

Thanks... :)
The indicator looks always only at the bid this is why I use only bid in the code, I will later change the code that we have an EA that will doing what you are explaining..

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
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 you go, I hope this one is near to do what you had explained in your last post

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
Locked

Return to “Ideas for Possible Automation”