I have adopted DC's suggestion in his post just above this one.
DC is working on a version with an alternative trade trigger and found some bits and bats that needed fixing last week. These fixes are in 1n.
Thanks DC
When you are mentioning AO, is that Awesome Oscillator indicator or Accelator Oscillator?DigitalCrypto » Thu Sep 21, 2017 6:18 pm wrote:
One of the traders in my group, Mike, mentioned that there is a 60% chance of an inside bar followed by a lower close on m1. This means that the entry would be more reliable but naturally less of them. I bring this up because Oanda doesn't present many FBs on live. Where as a bucket shop like Tradersway has literally hundreds of them.
I've incorporated these signals into variations of AO for testing to see if they aid in profit while reducing draw down on the m1 trader. It's too early for results but so far it is producing about 100% better profit with less draw down.
I will keep you guys updated as testing moves forward.
- David
Awesome Original perhaps?taipan » Tue Sep 26, 2017 2:12 am wrote:
When you are mentioning AO, is that Awesome Oscillator indicator or Accelator Oscillator?
Code: Select all
double GetFlyingBuddha(string symbol, int tf, int ffp, int ffam, int ffpr, int fsp, int fsam, int fspr, int buffer, int shift)
{
//Code by Baluda. Thanks very much Paul.
double fastMA = iMA( symbol, tf, ffp, 0, ffam, ffpr, shift );
double slowMA = iMA( symbol, tf, fsp, 0, fsam, fspr, shift );
double high = iHigh( symbol, tf, shift );
double low = iLow( symbol, tf, shift );
double result = EMPTY_VALUE;
//-- long signal
if ( buffer == 2 && high < MathMin( fastMA, slowMA ) ) result = low;
//-- short signal
if ( buffer == 3 && low > MathMax( fastMA, slowMA ) ) result = high;
return ( result );
}//End double GetFlyingBuddha()When you call the GetFlyingBuddha() function you will see at the end is "int shift" you would just send a 2.Weyk » Wed Sep 27, 2017 2:56 am wrote:Guys
How can i change the FlyingBuddha shift in the code? I mean i want the EA to make decision if there is a Flying Buddha 2 candle back.
Code: Select all
double GetFlyingBuddha(string symbol, int tf, int ffp, int ffam, int ffpr, int fsp, int fsam, int fspr, int buffer, int shift) ..... }//End double GetFlyingBuddha()
Code: Select all
double val = GetFlyingBuddha(symbol, TimeFrames[tfIndex], FbFastPeriod, FbFastAvgMode, FbFastPrice,
FbSlowPeriod, FbSlowAvgMode, FbSlowPrice, 2, 1);
Thanks David, i found that line after my first attempt didn't compile so i searched another.When you call the GetFlyingBuddha() function you will see at the end is "int shift" you would just send a 2.
Around line 4k you will find code for it.
Great to see you delving under the bonnet.Weyk » Wed Sep 27, 2017 11:03 am wrote:Thanks David, i found that line after my first attempt didn't compile so i searched another.When you call the GetFlyingBuddha() function you will see at the end is "int shift" you would just send a 2.
Around line 4k you will find code for it.
Cheers.