V 1g is in post 1 with a fix for the high swap filter bloop and the candlestick trailing stop bloop. Not using either of them? You do not need the update. Await a few more until you download the latest fixes. Just don'g miss any and then post something stupid, ok?
Codeslingers and DIYers, here is what I have done about the swap filter:
extern bool TradeLong=true;
extern bool TradeShort=true;
have become:
bool TradeLong=true;//Not needed as an extern here
bool TradeShort=true;//Not needed as an extern here
The go to void AutoTrading()
The first few lines of code are:
Code: Select all
void AutoTrading()
{
//Think of this being the equivalent to OnTimer() in a multi-pair
//EA without the dashboard element.
for (int PairIndex = 0; PairIndex < ArraySize(TradePair); PairIndex++)
{
string symbol = TradePair[PairIndex];
GetBasics(symbol);
Underneath GetBasics(symbol); I have added:
Code: Select all
//For the swap filter. It will set these variable to false if the swap filter fails.
//The variables are left behind from the conversion of the single pair trading EA
//to the multi-pair one. This seems to me to be the easiest way of dealing with the problem
//that the filter causes of not resetting here.
TradeLong = true;
TradeShort = true;
This saves having to rewrite the swap filter function. Let's hope it
really is this simple.

Read the effing manual, ok?
Afterprime is the official SHF broker. Read about them at https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?p=175790#p175790.
I still suffer from OCCD. Good thing, really.
Anyone here feeling generous? My paypal account is always in the market for a tiny donation. pianodoodler@hotmail.com is the account.
To see The Weekly Roundup of stuff you guys might have missed
Click here
My special thanks to Thomas (tomele) for all the incredible work he does here.