| stevehopwoodforex.com https://www.stevehopwoodforex.com/phpBB3/ Print view |
|
| EA request Heiken Ashi https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=3263 |
Page 10 of 17 |
| Author: | TraderDesk [ Wed Nov 20, 2013 10:44 am ] |
| Post subject: | Re: EA request Heiken Ashi |
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... |
|
| Author: | milanese [ Wed Nov 20, 2013 10:47 am ] |
| Post subject: | Re: EA request Heiken Ashi |
in this version it is fixed at 2 bars Cheers Tommaso |
|
| Author: | TraderDesk [ Wed Nov 20, 2013 10:54 am ] |
| Post subject: | Re: EA request Heiken Ashi |
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.... |
|
| Author: | milanese [ Wed Nov 20, 2013 11:34 am ] |
| Post subject: | Re: EA request Heiken Ashi |
Here you go.. Cheers Tommaso |
|
| Author: | TraderDesk [ Wed Nov 20, 2013 12:04 pm ] |
| Post subject: | Re: EA request Heiken Ashi |
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? |
|
| Author: | milanese [ Wed Nov 20, 2013 12:16 pm ] |
| Post subject: | Re: EA request Heiken Ashi |
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 |
|
| Author: | TraderDesk [ Wed Nov 20, 2013 12:28 pm ] |
| Post subject: | Re: EA request Heiken Ashi |
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..... |
|
| Author: | milanese [ Wed Nov 20, 2013 1:01 pm ] |
| Post subject: | Re: EA request Heiken Ashi |
Ok here again you go,with HigherTF you choose the HTF for the trendcheck, OOTB it is 240=H4 Cheers Tommaso |
|
| Author: | TraderDesk [ Wed Nov 20, 2013 3:32 pm ] |
| Post subject: | Re: EA request Heiken Ashi |
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.... |
|
| Author: | milanese [ Wed Nov 20, 2013 4:39 pm ] |
| Post subject: | Re: EA request Heiken Ashi |
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 |
|
| All times are UTC | Page 10 of 17 |
|
Powered by phpBB® Forum Software © phpBB Limited |
|