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 »

TraderDesk wrote:
The main entry should stay the same. But if I miss that entry when I go to put the EA on the 5 minute chart for example I do not want to wait for another main entry point to happen again because I could lose the whole uptrend/downtrend move if it is very strong.

I just want a way to allow me to get into the move with just the stochastic method of additional buy/sells since the conditions for the main entry have already been realized...

Does that make sense?
Ok so I will add a MainEntryOnlyWithHACross option if this set false, the bot will too entry a main trade if the HA cross on actual tf has happened in past, if the stoch options are meet..

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 »

And so we have again a new version, with two new settings:

MainEntryOnlyWithHACross=false setting this to true we have the old roules
UseStochForMainEntryWOHACross=true setting this to false the bot will not use Stoch for the main entry without HA cross

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 »

Tommaso, so far the last EA is working great. Now I want to have one method of placing a stop-loss. There are several methods but lets take it one step at a time.

As an example I am running the EA on the 5 minute chart and it has opened several positions. Now my variable HigherTF=30 is looking at the 30 minute TF where I want to place my Stop-loss, behind the HA Line by xx(variable) amount of pips. Now I want the SL to be adjusted when the next 30 minute bar closes to be behind the HA Line by the variable xx pips. So this is a trailing stop-loss that is adjusted by the HA line on the HigherTF=30 of this example. Here is a 30 minute chart below:
stoploss 1.png
So the open positions are controlled by the 5 minute EA but the trailing stop-loss is controlled by the HigherTF=30 HA Line - xx pips... on a closed bar by bar basis...

This is just one example... If I had HigherTF=15 then the stop-loss would be controlled by the 15 minute HA Line....

Does this make sense? Is this too complicated to put in?
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:Tommaso, so far the last EA is working great. Now I want to have one method of placing a stop-loss. There are several methods but lets take it one step at a time.

As an example I am running the EA on the 5 minute chart and it has opened several positions. Now my variable HigherTF=30 is looking at the 30 minute TF where I want to place my Stop-loss, behind the HA Line by xx(variable) amount of pips. Now I want the SL to be adjusted when the next 30 minute bar closes to be behind the HA Line by the variable xx pips. So this is a trailing stop-loss that is adjusted by the HA line on the HigherTF=30 of this example. Here is a 30 minute chart below:
stoploss 1.png
So the open positions are controlled by the 5 minute EA but the trailing stop-loss is controlled by the HigherTF=30 HA Line - xx pips... on a closed bar by bar basis...

This is just one example... If I had HigherTF=15 then the stop-loss would be controlled by the 15 minute HA Line....

Does this make sense? Is this too complicated to put in?
I will take a look later at this...

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 »

Cool.... Maybe we can call the variable HigherTFHALineStoploss=

Just to let you know so far the EA is doing exactly what I want it to.... Great work.... :D
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:Cool.... Maybe we can call the variable HigherTFHALineStoploss=

Just to let you know so far the EA is doing exactly what I want it to.... Great work.... :D
This great to hear :) You want the Distance from HTF only for moving SL or too for the initial SL use?

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 comes a version that sets BE and moves after the SL HigherTfHASLMovingDistance is used as min distance from the HA Line for moving the SL SetBEminPipST is the min Distance the the actual price must have from SL..

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:Cool.... Maybe we can call the variable HigherTFHALineStoploss=

Just to let you know so far the EA is doing exactly what I want it to.... Great work.... :D
This great to hear :) You want the Distance from HTF only for moving SL or too for the initial SL use?

Cheers :)

Tommaso
If you could do both that would be great.... :)
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:Cool.... Maybe we can call the variable HigherTFHALineStoploss=

Just to let you know so far the EA is doing exactly what I want it to.... Great work.... :D
This great to hear :) You want the Distance from HTF only for moving SL or too for the initial SL use?

Cheers :)

Tommaso
If you could do both that would be great.... :)
I dont' know if it makes much sense for the initial SL as the distance could be very small and we could only use the HA line in some cases as SL line..., maybe an exit roule could resolve the problem that the bot will exit after a HT HA line cross in the false direction...

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:Cool.... Maybe we can call the variable HigherTFHALineStoploss=

Just to let you know so far the EA is doing exactly what I want it to.... Great work.... :D
This great to hear :) You want the Distance from HTF only for moving SL or too for the initial SL use?

Cheers :)

Tommaso
If you could do both that would be great.... :)
I dont' know if it makes much sense for the initial SL as the distance could be very small and we could only use the HA line in some cases as SL line..., maybe an exit roule could resolve the problem that the bot will exit after a HT HA line cross in the false direction...

Cheers :)

Tommaso
Agree, makes sense.. :)
TraderDesk
Locked

Return to “Ideas for Possible Automation”