Baluda Indicators

Includes an archive of all previous Bob stuff
Post Reply
User avatar
NeoTrader
Trader
Posts: 436
Joined: Wed Apr 04, 2012 2:52 pm
Location: small Village at Lake Chiemsee, Bavaria, Germany

Re: Baluda Indicators

Post by NeoTrader »

hi jasonckb,
jasonckb wrote:Maybe I have missed something at the very beginning, but would u mind telling me why the 21 days MA are of different readings in daily/H4/H1 chart regarding your TMA slope MTF
the MA is based on the TMAslope not the Price...you have different slopes on the different TFs so the MA is also different.

hope this helps,

happy trading,

NeoTrader

-
jasonckb
Trader
Posts: 187
Joined: Sat Aug 25, 2012 9:45 am

Re: Baluda Indicators

Post by jasonckb »

NeoTrader wrote:hi jasonckb,
jasonckb wrote:Maybe I have missed something at the very beginning, but would u mind telling me why the 21 days MA are of different readings in daily/H4/H1 chart regarding your TMA slope MTF
the MA is based on the TMAslope not the Price...you have different slopes on the different TFs so the MA is also different.

hope this helps,

happy trading,

NeoTrader

-
But the MA timeframe is D1, it should be a 21 D MA rather than 21 period average and thus like the D1 slope which is time frame independent.....Do I get it wrong.....? :roll:
Happy Trading

Jason
User avatar
Baluda
Trader
Posts: 330
Joined: Mon Feb 06, 2012 2:00 pm
Location: An insignificant village in the Netherlands

Re: Baluda Indicators

Post by Baluda »

jasonckb wrote: But the MA timeframe is D1, it should be a 21 D MA rather than 21 period average and thus like the D1 slope which is time frame independent.
Jackson,

The MA in the indicator is weighed on every candle. Since each timeframe has a different number of candles per day the MA is different. (There are 6 H4 candles in a day, therefore the MA is weighed 6 times.)

This is a 'happy accident' in 'TMA Slope MTF' because I particularly like the MA on the H4 charts. But I'll see what I can do for the next version.

Paul
Check the MQL4 Market for my best EA's and Indicators.
jasonckb
Trader
Posts: 187
Joined: Sat Aug 25, 2012 9:45 am

Re: Baluda Indicators

Post by jasonckb »

Baluda wrote:
jasonckb wrote: But the MA timeframe is D1, it should be a 21 D MA rather than 21 period average and thus like the D1 slope which is time frame independent.
Jackson,

The MA in the indicator is weighed on every candle. Since each timeframe has a different number of candles per day the MA is different. (There are 6 H4 candles in a day, therefore the MA is weighed 6 times.)

This is a 'happy accident' in 'TMA Slope MTF' because I particularly like the MA on the H4 charts. But I'll see what I can do for the next version.

Paul
Thx Paul for your prompt reply :D IMHO, I think using a steady D1 slope in comparing with the D1 value is a good screening signal for bad trade that entering a trade at the very end of a rally or even act as an exit point for a winning position. In that sense, you can consider to have it time -independent which will be more consistent (eg . by using a fixed 24x H1<--- I have no idea about coding :mrgreen: )
Happy Trading

Jason
theforexedge
Trader
Posts: 220
Joined: Thu Apr 26, 2012 10:31 pm
Location: Torquay

Re: Baluda Indicators

Post by theforexedge »

Baluda

Is it possible to add the ability to change the Font in Currency Slope Strength - v1.0.3

I'd also like the option to have just Black & White colours for currency example EURUSD - EUR (black) & USD (white)

Thanks, Jason
rebeljedi
Trader
Posts: 87
Joined: Mon Nov 21, 2011 4:17 am

Currency Slope Strength v1.0.3

Post by rebeljedi »

I have absolutely no clue why AUD value is different in AUDUSD chart.

I have downloaded a new IBFXAU Empty4 platform and applied the ForceHistoricalData script (all loaded successfully) and the result is AUD value in AUDUSD chart is always different from other AUD pairs (e.g. AUDJPY, EURAUD).

Enclosed are 3 charts - AUDUSD, AUDJPY, EURAUD (All in same timeframe, same Currency Slope Strength indicator settings).
You will see that:
AUD = -0.43 in AUDJPY and EURAUD charts but
AUD = 0.20 in AUDUSD chart??

Any other ideas what need to be done? Any help is appreciated.
You do not have the required permissions to view the files attached to this post.
User avatar
gaheitman
Trader
Posts: 655
Joined: Tue Nov 15, 2011 10:55 pm
Location: Richmond, VA, US

Re: Currency Slope Strength v1.0.3

Post by gaheitman »

rebeljedi wrote:I have absolutely no clue why AUD value is different in AUDUSD chart.

I have downloaded a new IBFXAU Empty4 platform and applied the ForceHistoricalData script (all loaded successfully) and the result is AUD value in AUDUSD chart is always different from other AUD pairs (e.g. AUDJPY, EURAUD).

Enclosed are 3 charts - AUDUSD, AUDJPY, EURAUD (All in same timeframe, same Currency Slope Strength indicator settings).
You will see that:
AUD = -0.43 in AUDJPY and EURAUD charts but
AUD = 0.20 in AUDUSD chart??

Any other ideas what need to be done? Any help is appreciated.
I think there is a defect in the code that strips out the pairs when showOnlySymbolOnChart = true. The code is supposed to check all currencies in the symbolsToWeigh list and make sure at least one of the pairs matches one of the pairs on the current chart. The current code:

Code: Select all

   // Kill unwanted symbols from array
   if ( showOnlySymbolOnChart )
   {
      symbolCount = ArraySize(symbolNames);
      string tempNames[];
      for ( i = 0; i < symbolCount; i++ )
      {
         for ( int j = 0; j < CURRENCYCOUNT; j++ )
         {
            if ( StringFind( Symbol(), currencyNames[j] ) == -1 )
            {
               break;
            }
            if ( StringFind( symbolNames[i], currencyNames[j] ) != -1 )
            {  
               size = ArraySize( tempNames );
               ArrayResize( tempNames, size + 1 );
               tempNames[size] = symbolNames[i];
               break;
            }
         }
      }
      for ( i = 0; i < ArraySize( tempNames ); i++ )
      {
         ArrayResize( symbolNames, i + 1 );
         symbolNames[i] = tempNames[i];
      }
   }
The first "break" should actually be a "continue". The "break" drops us out of the for loop entirely, we really just want to skip the rest of the code inside the for loop and come back through checking the next value from currencyNames.

George
User avatar
Baluda
Trader
Posts: 330
Joined: Mon Feb 06, 2012 2:00 pm
Location: An insignificant village in the Netherlands

Re: Currency Slope Strength v1.0.3

Post by Baluda »

gaheitman wrote:The first "break" should actually be a "continue". The "break" drops us out of the for loop entirely, we really just want to skip the rest of the code inside the for loop and come back through checking the next value from currencyNames.
George,

Good catch!

I doubt however, if this bug is the cause of the problem decribed. This 'break' is only there to check if the user has a chart with symbol that isn't in the array at all. (GOLD, USDSGD etc.)

Will provide a fix in the next release.

Paul
Check the MQL4 Market for my best EA's and Indicators.
User avatar
gaheitman
Trader
Posts: 655
Joined: Tue Nov 15, 2011 10:55 pm
Location: Richmond, VA, US

Re: Currency Slope Strength v1.0.3

Post by gaheitman »

Baluda wrote:
gaheitman wrote:The first "break" should actually be a "continue". The "break" drops us out of the for loop entirely, we really just want to skip the rest of the code inside the for loop and come back through checking the next value from currencyNames.
George,

Good catch!

I doubt however, if this bug is the cause of the problem decribed. This 'break' is only there to check if the user has a chart with symbol that isn't in the array at all. (GOLD, USDSGD etc.)

Will provide a fix in the next release.

Paul
I think you'll find this is the problem. After making the change, currency slope values are now consistent across currencies and give the same results as when showOnlySymbolOnChart=false.

George
User avatar
4xPIPAHOLIC
Trader
Posts: 41
Joined: Thu Nov 24, 2011 1:27 pm
Location: Montreal, Quebec, Canada

Re: Baluda Indicators

Post by 4xPIPAHOLIC »

Baluda wrote:New version CurrencySlopeStrength, v1.0.3, in post 1.
CurrencySlopeStrength, screen X.png
Changes:
  • Added background indicator when showOnlySymbolOnChart = true. A difference treshold determines when background is shown.
  • Optimized table placement and painting.
Enjoy,

Paul

Baluda.....love your indicators .....especially CurrencySlopeStrength, v1.0.3......amazing!

Very valuable , Thank you!
The hardest thing for me to learn in forex.....is to sit on my ass and do nothing....
Post Reply

Return to “Nanningbob's Holy Grail Indicator forum”