| stevehopwoodforex.com https://www.stevehopwoodforex.com/phpBB3/ Print view |
|
| EA request Heiken Ashi https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=3263 |
Page 2 of 17 |
| Author: | milanese [ Fri Nov 15, 2013 8:23 am ] |
| Post subject: | Re: EA request Heiken Ashi |
Hi TraderDesk, sure this helps I will look to build in what you asked for, step by step Cheers Tommaso |
|
| Author: | milanese [ Fri Nov 15, 2013 10:47 am ] |
| Post subject: | Re: EA request Heiken Ashi |
Hi TraderDesk, ok now I made the DelayTheEntryForXBars, please try and report if it is like you thought, if this ok I will look for exit and other add's, you can delay too with pips as in former version if you set delay_shift=0 if it is >0 PipsInHA has no influence.. Hope it is a step in right direction.. Edit:was buggy removed see newer post Cheers Tommaso |
|
| Author: | TraderDesk [ Fri Nov 15, 2013 11:07 am ] |
| Post subject: | Re: EA request Heiken Ashi |
Will start testing it out.... One other idea to put in the to-do list is the ability to limit how many buys the EA can do. For example let's say price crossed up and after 2 BARS closed A position was OPEN. Now I would want to leave it running with the logic that when Price comes back within xx pips a new order is OPEN. I would not want the price to go up and with a short time to come back down and OPEN another position. Is there a way to limit this to number(#) of concurrent open positions and/or withing a certain time limit? When I trade I like to add in positions when they are in the direction of my Take Profit levels. So I like to add a position when Price Action reverts back to the Mean, in this case, close to the HA line. But I want to make sure I do not open too many positions or open them to close to one another... Normally I would add and watch but as one of the goals is to take my eyes off of the chart we need to look at adding this to the EA... Am I making sense? I guess Time could be amount of BARS that need to close before new position can be open... |
|
| Author: | milanese [ Fri Nov 15, 2013 11:11 am ] |
| Post subject: | Re: EA request Heiken Ashi |
Please download the attached one... Cheers Tommaso |
|
| Author: | TraderDesk [ Fri Nov 15, 2013 11:22 am ] |
| Post subject: | Re: EA request Heiken Ashi |
Is the field called "DelayTheEntryForXBars" in the settings of the EA? I do not see it there. |
|
| Author: | milanese [ Fri Nov 15, 2013 11:24 am ] |
| Post subject: | Re: EA request Heiken Ashi |
no it is named delay_shift i will change it in next version Cheers Tommaso |
|
| Author: | TraderDesk [ Fri Nov 15, 2013 11:50 am ] |
| Post subject: | Re: EA request Heiken Ashi |
Cool.... Ok I will try to put some modular boxes to help me keep track. As an example below is the example of "Cross HA line OPEN position" which is the basic logic to open a position when price crosses HA line. The variables are "DelayTheEntryForXBars" and "PriceFromHAline"... Later we can other variables and Modular boxes to reflect more advance trading logic... An example would be to look at a higher time-frame first to make sure price is on the same side of the HA line as the lower time-frame OPEN position... and so on.... |
|
| Author: | TraderDesk [ Fri Nov 15, 2013 11:56 am ] |
| Post subject: | Re: EA request Heiken Ashi |
I am testing the EA on the 1 minute chart. Now I had set "delay_shift" to 3 and waited for Price to cross the HA line. 5 bars have closed but still no position opened. PipsInHA is 0... Am I doing something wrong? Thanks... |
|
| Author: | milanese [ Fri Nov 15, 2013 12:01 pm ] |
| Post subject: | Re: EA request Heiken Ashi |
have all bars closed up or down the crossed line? I tested it here and it seems to work, but the bot checks if all have close > or < the HALine and if they have closed with increasing or decreasing.. maybe this could be the point.. Cheers Tommaso |
|
| Author: | TraderDesk [ Fri Nov 15, 2013 12:08 pm ] |
| Post subject: | Re: EA request Heiken Ashi |
Here is the actual graph. I open the EA while price was still climbing as shown on the chart. I wait for price to cross down and if price is below the HA line and I see three red boxes to be closed then on the 4th box it should open a sell position.... |
|
| All times are UTC | Page 2 of 17 |
|
Powered by phpBB® Forum Software © phpBB Limited |
|