Baluda Indicators

Includes an archive of all previous Bob stuff
Post Reply
darshanag
Trader
Posts: 61
Joined: Mon Aug 05, 2013 8:43 am

Re: Baluda Indicators

Post by darshanag »

Baluda wrote:Here are my indicators, I hope you find use for them.

Credits go to:
Simeon Semenych - orignal ccfp indicator
Alexandre A.B. Borela - DrawCell method
ZZNBRM - TMA calculation

1. SlopeStrength
Determines the current Slope Strength of all currencies based on their TMA Slope values. The Slope Strength is the average of all TMA Slope values of the symbols the currency is part of.
SlopeStrength, screen VI.png
Current version: v1.0.3
User settings:
  • autoSymbols - set to true to let SlopeStrength use all symbols available in the Market Watch window. Overrules 'symbolsToWeigh'
  • symbolsToWeigh - comma delimited list of symbols to use.
  • nonPropFont - non proportional font to use
  • fontSize - font size to use. SlopeStrength can do some very crude scaling
  • timeFrame - set to 'D1' or 'H4'
  • showLowerTimeFrame - set to true to show a bullet indicating the TMA Slope of the immediate lower timeframe
  • showTrendIcon - the trend icon is an arrow that shows the approximate direction of the TMA Slope based on the last 5 periodes
  • colo(u)rs - you know what to do
[/list]
Hi Paul.. Sent you a PM..

Cheers !

Darshana
atharmian
Trader
Posts: 169
Joined: Tue Oct 16, 2012 7:43 am

Re: Baluda Indicators: MTF problem, charts overlap

Post by atharmian »

Baluda et al,

So I tried to build an MTF version of CSS1.0.8, by creating 4 instances of the indy, altering almostUniqueIndex as Instance1, 2, 3 and 4 each time. Varied the horizontalOffset and SetIndexShift (added back from v1.0.7) to place the 4 instances of M1, M5, M15 and M30 displays in the same (lower) window as in pic. Also changed maxBars to 20 from default 100 to accommodate 4 TF displays in same screenshot.

Problem: The table only appears for M1 and the charts expand left to overlap.
Any tips? Attaching mql4 for Instance 2 (M5.)

Athar.
css-tma dash-- overlap-miss-tables.png
You do not have the required permissions to view the files attached to this post.
atharmian
Trader
Posts: 169
Joined: Tue Oct 16, 2012 7:43 am

Re: Baluda Indicators: MTF problem, charts overlap

Post by atharmian »

BUG REPORT: OLDER BARS NOT DELETED in CSS v1.0.8 !?

Baluda,

I set autoTimeFrame = false; timeFrame= "M1"; and MaxBars=20; My current TF was M1.
See picture below, the older bars are NOT being deleted (so my problem in MTF above really is a bug in v1.0.8.)

Also, in Start(),

Code: Select all

 //+------------------------------------------------------------------+
//| Custom indicator iteration function                              |
//+------------------------------------------------------------------+
int start()
{
   int limit;
   int counted_bars = IndicatorCounted();

   if (counted_bars < 0)  return(-1);
   if (counted_bars > 0)  counted_bars -= 10;

   limit = Bars - counted_bars; 
In many places for MQL4 doc and examples,

Code: Select all

limit = Bars -counted_bars-1; 
Not as in your code. So maybe you meant :

Code: Select all

  if (counted_bars > 0)  counted_bars -= 1; 
not

Code: Select all

  if (counted_bars > 0)  counted_bars -= 10;
Doesn't make sense to have 10 !

Perhaps there may also be a CurrencyTable init problem, as my MTF issue suggests.

Regards,
Athar.
cssv1.0.8- older-bars-not-deleted.png

atharmian wrote:Baluda et al,

So I tried to build an MTF version of CSS1.0.8, by creating 4 instances of the indy, altering almostUniqueIndex as Instance1, 2, 3 and 4 each time. Varied the horizontalOffset and SetIndexShift (added back from v1.0.7) to place the 4 instances of M1, M5, M15 and M30 displays in the same (lower) window as in pic. Also changed maxBars to 20 from default 100 to accommodate 4 TF displays in same screenshot.

Problem: The table only appears for M1 and the charts expand left to overlap.
Any tips? Attaching mql4 for Instance 2 (M5.)

Athar.
css-tma dash-- overlap-miss-tables.png
You do not have the required permissions to view the files attached to this post.
FFFOOO
Posts: 2
Joined: Mon Jan 14, 2013 7:22 am

Re: Baluda Indicators

Post by FFFOOO »

Baluda,

Coding is superb...
atharmian
Trader
Posts: 169
Joined: Tue Oct 16, 2012 7:43 am

Re: Baluda Indicators

Post by atharmian »

FFOOO,

This compliment could only come from another good coder !

So, could you kindly look at my problem above? Being a newbie non-coder, I have been through much MQL4 doc (at their site and others), while asking some folks as well. No luck. Technically, the code should work per the doc!

I am running a demo GlobalPrime account at a VPS (the Amazon EC2 with 613MB RAM, unknown CPU.)

Thanks,

Athar.
FFFOOO wrote:Baluda,

Coding is superb...
atharmian
Trader
Posts: 169
Joined: Tue Oct 16, 2012 7:43 am

Re: Baluda Indicators: MTF problem, charts overlap

Post by atharmian »

I think I found out the real problem- SetIndexStyle plots don't seem to be deleted from past bars !

Do anyone know if the SetIndexStyle lines can be deleted (apparently not)? What I am trying to do is to limit the currency lines display to the most recent maxBars= 20, but the display simply adds new points.

I have tried all sorts of stuff including SetIndexDrawBegin, SetIndexEmptyValue, tried arrUSD=0 for i > MaxBars, but no luck. MQL4 doc is really poor, and ObjectCreate may not be the answer: it seems to draw specific objects only?

Athar.

atharmian wrote:BUG REPORT: OLDER BARS NOT DELETED in CSS v1.0.8 !?

Baluda,

I set autoTimeFrame = false; timeFrame= "M1"; and MaxBars=20; My current TF was M1.
See picture below, the older bars are NOT being deleted (so my problem in MTF above really is a bug in v1.0.8.)

Also, in Start(),

Code: Select all

 //+------------------------------------------------------------------+
//| Custom indicator iteration function                              |
//+------------------------------------------------------------------+
int start()
{
   int limit;
   int counted_bars = IndicatorCounted();

   if (counted_bars < 0)  return(-1);
   if (counted_bars > 0)  counted_bars -= 10;

   limit = Bars - counted_bars; 
In many places for MQL4 doc and examples,

Code: Select all

limit = Bars -counted_bars-1; 
Not as in your code. So maybe you meant :

Code: Select all

  if (counted_bars > 0)  counted_bars -= 1; 
not

Code: Select all

  if (counted_bars > 0)  counted_bars -= 10;
Doesn't make sense to have 10 !

Perhaps there may also be a CurrencyTable init problem, as my MTF issue suggests.

Regards,
Athar.
cssv1.0.8- older-bars-not-deleted.png

atharmian wrote:Baluda et al,

So I tried to build an MTF version of CSS1.0.8, by creating 4 instances of the indy, altering almostUniqueIndex as Instance1, 2, 3 and 4 each time. Varied the horizontalOffset and SetIndexShift (added back from v1.0.7) to place the 4 instances of M1, M5, M15 and M30 displays in the same (lower) window as in pic. Also changed maxBars to 20 from default 100 to accommodate 4 TF displays in same screenshot.

Problem: The table only appears for M1 and the charts expand left to overlap.
Any tips? Attaching mql4 for Instance 2 (M5.)

Athar.
css-tma dash-- overlap-miss-tables.png
atharmian
Trader
Posts: 169
Joined: Tue Oct 16, 2012 7:43 am

Re: Baluda Indicators: MTF problem, charts overlap

Post by atharmian »

Found a fix... onto MTF version.

Athar.
atharmian wrote:I think I found out the real problem- SetIndexStyle plots don't seem to be deleted from past bars !

Do anyone know if the SetIndexStyle lines can be deleted (apparently not)? What I am trying to do is to limit the currency lines display to the most recent maxBars= 20, but the display simply adds new points.

I have tried all sorts of stuff including SetIndexDrawBegin, SetIndexEmptyValue, tried arrUSD=0 for i > MaxBars, but no luck. MQL4 doc is really poor, and ObjectCreate may not be the answer: it seems to draw specific objects only?

Athar.

atharmian wrote:BUG REPORT: OLDER BARS NOT DELETED in CSS v1.0.8 !?

Baluda,

I set autoTimeFrame = false; timeFrame= "M1"; and MaxBars=20; My current TF was M1.
See picture below, the older bars are NOT being deleted (so my problem in MTF above really is a bug in v1.0.8.)

Also, in Start(),

Code: Select all

 //+------------------------------------------------------------------+
//| Custom indicator iteration function                              |
//+------------------------------------------------------------------+
int start()
{
   int limit;
   int counted_bars = IndicatorCounted();

   if (counted_bars < 0)  return(-1);
   if (counted_bars > 0)  counted_bars -= 10;

   limit = Bars - counted_bars; 
In many places for MQL4 doc and examples,

Code: Select all

limit = Bars -counted_bars-1; 
Not as in your code. So maybe you meant :

Code: Select all

  if (counted_bars > 0)  counted_bars -= 1; 
not

Code: Select all

  if (counted_bars > 0)  counted_bars -= 10;
Doesn't make sense to have 10 !

Perhaps there may also be a CurrencyTable init problem, as my MTF issue suggests.

Regards,
Athar.
cssv1.0.8- older-bars-not-deleted.png

atharmian wrote:Baluda et al,

So I tried to build an MTF version of CSS1.0.8, by creating 4 instances of the indy, altering almostUniqueIndex as Instance1, 2, 3 and 4 each time. Varied the horizontalOffset and SetIndexShift (added back from v1.0.7) to place the 4 instances of M1, M5, M15 and M30 displays in the same (lower) window as in pic. Also changed maxBars to 20 from default 100 to accommodate 4 TF displays in same screenshot.

Problem: The table only appears for M1 and the charts expand left to overlap.
Any tips? Attaching mql4 for Instance 2 (M5.)

Athar.
css-tma dash-- overlap-miss-tables.png
User avatar
Jemook
Trader
Posts: 1085
Joined: Thu May 10, 2012 10:19 am
Location: Bondi, Sydney, Australia

Re: Baluda Indicators

Post by Jemook »

Still loving all your indicators Baluda! Thanks :)

Wondering if you ever played around with a version of the DWM pivots indicator that allows a user to choose which TF for the pivots..

So I could choose M1 pivots, M5 pivots, M15 pivots for example.

I'm playing around with a daily strategy based on Daily crossing the Weekly and it's been going pretty well so far. Would love to test it on a lower TF.

Cheers,
J
Please note I am no longer affiliated with Global Prime. I've moved on to my next adventure with Afterprime.

Catch me here: https://www.afterprime.com
Radar
Trader
Posts: 437
Joined: Fri Mar 23, 2012 5:39 pm
Location: Round the bend ;)

Re: All Timeframe Pivots

Post by Radar »

Hey Jem,
Jemook wrote:Still loving all your indicators Baluda! Thanks :)

Wondering if you ever played around with a version of the DWM pivots indicator that allows a user to choose which TF for the pivots..

So I could choose M1 pivots, M5 pivots, M15 pivots for example.

I'm playing around with a daily strategy based on Daily crossing the Weekly and it's been going pretty well so far. Would love to test it on a lower TF.

Cheers,
J

I played around with that last year... I didn't know how to change the array for the values that are displayed in the bottom right of the chart back then, though... I'll clean it up over the weekend, and pop it in here...

Have fun!

Radar =8^)
Check out my new, (well, old now), manual trade & automatic scale-in manager,
StackManV2
Radar
Trader
Posts: 437
Joined: Fri Mar 23, 2012 5:39 pm
Location: Round the bend ;)

Re: Baluda Indicators

Post by Radar »

Hey Jem,

Finished the AllTFPivots indicator :)

I didn't include an M1 pivot, 'cos unless you're looking at charts with bars of less than 1 minute, it looks kinda fugly... Here's an M5 chart, with an M5 pivot on it, so you can see what I mean...
alltfpivots1.png

I've added from M5 up to H4 pivots to the original DWMPivots, with their respective S&R lines... If you want to see S&R lines for a given period, you have to enable the pivot for that period, too.

I changed the sort order to show the prices instead of the pivot/S/R names, and colour-coded them to match the pivots... Park your mouse over a price, and you will see which pivot or S/R it is for. Here's a pic of an M1 chart with all pivots and SR's on it...
alltfpivots2.png

If you can't see it in the pic, prices are shown from highest at the left, to lowest at the right.

Have fun!

Radar =8^)
You do not have the required permissions to view the files attached to this post.
Check out my new, (well, old now), manual trade & automatic scale-in manager,
StackManV2
Post Reply

Return to “Nanningbob's Holy Grail Indicator forum”