Corti-v1.22-mod03 ex4/ex5 and its MT5 Y2019 backtest are attached for reference.
It is successful to implement diary currency strength (D1) for reversing group setting.
bool sGBPUSD, sGBPJPY, bUSDJPY;
some currency strength calucation for sGBPUSD, sGBPJPY, bUSDJPY...
if((sGBPUSD || sGBPJPY) && bUSDJPY){ //REVERSE - signal
M_Buys_A="USDJPY,USDJPY";//[1]Buy Pairs :
M_Sells_A="GBPUSD,GBPJPY";//[1]Sell Pairs :
M_Buys_B="USDJPY,USDJPY";//[2]Buy Pairs :
M_Sells_B="GBPUSD,GBPJPY";//[2]Sell Pairs :
} else { //NORMAL
M_Buys_A="GBPUSD,GBPJPY";//[1]Buy Pairs :
M_Sells_A="USDJPY,USDJPY";//[1]Sell Pairs :
M_Buys_B="GBPUSD,GBPJPY";//[2]Buy Pairs :
M_Sells_B="USDJPY,USDJPY";//[2]Sell Pairs :
}
With comparison to backtest of mod01 and mod2, mod3 is the one for me to give a better chance in future demo trading.
Thank mastercool66 much
It is successful to implement diary currency strength (D1) for reversing group setting.
bool sGBPUSD, sGBPJPY, bUSDJPY;
some currency strength calucation for sGBPUSD, sGBPJPY, bUSDJPY...
if((sGBPUSD || sGBPJPY) && bUSDJPY){ //REVERSE - signal
M_Buys_A="USDJPY,USDJPY";//[1]Buy Pairs :
M_Sells_A="GBPUSD,GBPJPY";//[1]Sell Pairs :
M_Buys_B="USDJPY,USDJPY";//[2]Buy Pairs :
M_Sells_B="GBPUSD,GBPJPY";//[2]Sell Pairs :
} else { //NORMAL
M_Buys_A="GBPUSD,GBPJPY";//[1]Buy Pairs :
M_Sells_A="USDJPY,USDJPY";//[1]Sell Pairs :
M_Buys_B="GBPUSD,GBPJPY";//[2]Buy Pairs :
M_Sells_B="USDJPY,USDJPY";//[2]Sell Pairs :
}
With comparison to backtest of mod01 and mod2, mod3 is the one for me to give a better chance in future demo trading.

Thank mastercool66 much

Attached File(s)
1