Hi all,
v1.05 is in post 1.
20 Jan 15:v1.05
-Added Htf HGI/ Hurst Check option
Code: Select all
extern bool CheckHtfTradeEntry = false;
extern int HtfTradingTimeFrame = PERIOD_D1;
extern int HtfLookBackCandles = 8;
extern bool HtfTradeTrend = true;
extern bool HtfTradeRAD = true;
extern bool HtfTradeRange = true;
extern bool HtfTradeWave = true;
extern bool HtfTradeWaveAndTrend = false;
extern bool HtfUseHurst = false;
extern int HtfFastMA_Period = 5;
extern int HtfFastMA_Shift = 0;
extern int HtfSlowMA_Period = 11;
extern int HtfSlowMA_Shift = 0;
To enable set CheckHtfTradeEntry to true.
The code will check the current and previous HtfLookBackCandles for the last Signal.
Use the HtfTradeTrend/RAD/Range/Wave/WaveAndTrend options to determine which Htf signal to follow.
Set HtfUseHurst to enable Hurst check on the higher time frame
-Added Trade Balance filters
Code: Select all
extern bool UseZeljkoBalancedCcyTrade =false; //Allow only one buy and sell of Currency at one time
extern bool LimitTradesPerCurrency =false; //Limit the maximum trades per currency to MaxTradesPerCurrency
extern int MaxTradesPerCurrency = 2;
UseZeljkoBalancedCcyTrade - allows only one buy and one sell of a currency at one time
LimitTradesPerCurrency - limits the maximum trades of each currency subject to MaxTradesPerCurrency
Would recommend trying out the different combinations to compare.
- Lower Timeframe HGI + Hurst, Higher Timeframe HGI
- Lower Timeframe HGI , Higher Timeframe HGI + Hurst
- Lower Timeframe HGI + Hurst, Higher Timeframe HGI + Hurst ( dont expect much trades)
- Lower Timeframe HGI , Higher Timeframe HGI
As a note, the recommended timeframes by alorente are H4 and D1 for Htf.
Cheers
"Love is patient, love is kind. It does not envy, it does not boast, it is not proud. It does not dishonor others, it is not self-seeking, it is not easily angered, it keeps no record of wrongs.Love does not delight in evil but rejoices with the truth. It always protects, always trusts, always hopes, always perseveres."
-Corinthians 13:4-8