| stevehopwoodforex.com https://www.stevehopwoodforex.com/phpBB3/ Print view |
|
| EA request Heiken Ashi https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=3263 |
Page 5 of 17 |
| Author: | milanese [ Fri Nov 15, 2013 7:19 pm ] |
| Post subject: | Re: EA request Heiken Ashi |
yes I will in future make two different variables for that Cheers Tommaso |
|
| Author: | TraderDesk [ Fri Nov 15, 2013 7:22 pm ] |
| Post subject: | Re: EA request Heiken Ashi |
using the latest EA it did not open a new position when price cross up an closed 1 bar. Here are the setting I have set for it. AdvertisedSpread=5.00000000 UseFixedLot=1 FixedLot=0.10000000 DelayTheEntryForXBars=1 DelayTheAdditionalEntryForXBars=3 PriceFromHALine=0.00000000 AddAdditionalPositionsInTrend=1 MaxAdditionalPositions=3 Did I forget to add a variable correctly? |
|
| Author: | milanese [ Fri Nov 15, 2013 7:25 pm ] |
| Post subject: | Re: EA request Heiken Ashi |
I see, I will look in the code why this happend.. Edit:should this be a main entry? Cheers Tommaso |
|
| Author: | TraderDesk [ Fri Nov 15, 2013 7:46 pm ] |
| Post subject: | Re: EA request Heiken Ashi |
Hi Tommaso... Yes this was supposed to be the cross with the main entry.... |
|
| Author: | milanese [ Fri Nov 15, 2013 7:50 pm ] |
| Post subject: | Re: EA request Heiken Ashi |
uffa no idea, because before this additional stuff it worked.. but normaly it should do so , because in this part I have nothing changed.. Cheers Tommaso |
|
| Author: | TraderDesk [ Fri Nov 15, 2013 8:13 pm ] |
| Post subject: | Re: EA request Heiken Ashi |
I changed the PriceFromHALine=0 to 10 pips and now on the cross if price is within 10 pips and close of bar it works... If it is 0 maybe it waits for price to touch the HA line before opening a position... |
|
| Author: | milanese [ Fri Nov 15, 2013 8:17 pm ] |
| Post subject: | Re: EA request Heiken Ashi |
I have to admit I tested it only with PriceFromHALine>0 .. Cheers Tommaso |
|
| Author: | TraderDesk [ Fri Nov 15, 2013 8:34 pm ] |
| Post subject: | Re: EA request Heiken Ashi |
Cool... Now if price comes down to 20 pips say after 10 bars I would want it to automatically open a new position since at 50 pips it was too far from HA line but 20 pips is my threshold. |
|
| Author: | milanese [ Fri Nov 15, 2013 9:41 pm ] |
| Post subject: | Re: EA request Heiken Ashi |
Ok here comes again an update now we have two variables PriceFromHALine=20 and AdditionalTPriceFromHALine=20 Cheers and have a great weekend Tommaso |
|
| Author: | TraderDesk [ Sat Nov 16, 2013 8:11 am ] |
| Post subject: | Re: EA request Heiken Ashi |
Hi Tommaso, If you look at the below chart you can see the EA opens the first original position and like 4 bars later it open 4 more positions. What it should do is open an additional position spaced out by the DelayTheAdditionalEntryForXBars=4 so it can open up to X more positions but they EACH have to be space apart by 4 bars and the AdditionalTPriceFromHALine=20 parameter must be TRUE.... |
|
| All times are UTC | Page 5 of 17 |
|
Powered by phpBB® Forum Software © phpBB Limited |
|