Khalaad wrote:Mark,markft wrote:Hi Khalid,
Sorry it this is a dumb question. What at would be the guidelines to manually specify long/short direction? A higher tf trend? In this case perhaps this could also be automated.
Yours is not a dumb question. Indeed, as a Forum member you are in the right to inquire.
I am almost done with:
• filter(s) to avoid whipsaws; and
• method to determine the directional bias;
and these shall become part of the automated order placements in due course of time. But this is a huge task and shall take considerable time.
I have been posting the readings on Long/Short directions, at times with charts. But, for easy reference, I shall henceforth place these in Post 1 as updates.
http://www.myfxbook.com/members/Khalaad ... 162/218045
The VPS is online. But I shall only reactivate the EA after thorough testing -- another 5 hours, or so.
Khalid
Hi Khalid,
Thanks for the response. I am looking forward to guidelines on how to setup directional bias. I looked at the PDF docs on currency indices and I am guessing you have used the trend in the currency indices.
I have looked into the code for the 1.3 version of the EAs. The only way this EA can place long trades when TradeLong is false is when there are pending lines on the chart. Presumably these lines could have been left over from running the EA earlier when TradeLong was set to true.
I have done a small patch that does not place buy/sell trades if TradeLong/TradeShort is set to false. The changes are in the HasBuyFilled/HasSellFilled functions.
Updated version attached.
Edit: Attachment v1.3.1 removed as per Khalid's request.
Khalid: Thank you markft; your kind cooperation is acknowledged and appreciated.