Edit:has a bug please download in next posts
Cheers
Tommaso
Hi Tommaso, first thanks for helping Steve with the site maintenance.milanese wrote:Ok here is the version we have too a SL as so far but the bot will close the position on HT HA cross against the position if we are in loss or more as MinTPProfitInUSD in win. Setting Use_HACrossAgainstUsExit to false deactivates this new modul.
Cheers
Tommaso
Sure I will do that laterTraderDesk wrote:Hi Tommaso, first thanks for helping Steve with the site maintenance.milanese wrote:Ok here is the version we have too a SL as so far but the bot will close the position on HT HA cross against the position if we are in loss or more as MinTPProfitInUSD in win. Setting Use_HACrossAgainstUsExit to false deactivates this new modul.
Cheers
Tommaso
Here is a setup that I have been using the EA against. EA runs on 5 minute chart and Higher TF is 30 minute chart.
I notice that when the 30 minute chart HA Line is red(bear) and when 5 minute stochastic crosses 80 but the 5 minute HA Line is BLUE it will not open a sell position. This is good but there are many time on certain currency pairs where I want to sell even if the 5 minute HA Line is blue...
Is it possible to add a variable where I can allow the EA to open a position even if the time-frame it is running on has an opposite color? This will only be allow for the lower time-frame not the Higher time-frame. Using the above example the EA can ONLY open a position in the direction of the HigherTF= but will allow the lower time-frame to open a position based on stochastic level even if the lower time-frame HA Line is opposite to the HigherTF=.
A variable on/off switch would be a great addition if it possible...
Thanks....
it is the TF used for STOCHTraderDesk wrote:Tommaso,
What does this variable do?
StochTF=60;
Does it look at the stochastic on the 60 minute time-frame?
Also I am running TraderDeskHeikenAshiAC with UseHT=false on the 5 minute TF and when stochastic hit 80 it did a buy when it should have sold as HigherTF=30 was HALine RED....
Anyways I will look more into it and see if I can duplicate the mistake...
TraderDesk wrote:Good morning Tommaso,
When I set the variable to:
UseHT=False
What that should allow me to do is exactly like when it is set to True EXCEPT it will allow the EA to do buy/sell no matter what the color of the HA Line that StochTF= is set to.
Example:
Below are two charts. The first one is the 5 minute chart where I placed the EA and have the following settings:
StochTF=5
StochBuyLevel=30
StochSellLevel=70
UseHT=False
MainEntryOnlyWithHACross=False
UseStochForMainEntryWOHACross=True
HigherTF=30
So below is the 5 minute chart where you can see Price went below the HA Line and it has turned Red. What SHOULD happen is when it hits the StochBuyLevel=30 level is BUY even though the 5 minute StochTF=5 HA Line is RED. It can ONLY buy because it still must make sure that the 30 minute chart HigherTF=30 HA Line is BLUE. When UseHT=True it should only allow the EA to open BUY positions if the StochTF=5 HA Line is BLUE and
HigherTF=30 HA Line is BLUE
When UseHT=fALSE it should only allow the EA to open BUY positions if the StochTF=5 HA Line is BLUE OR RED and HigherTF=30 HA Line is BLUE
Right now I do not see it doing that...
Thanks....