Baluda LibCSS

Includes an archive of all previous Bob stuff
User avatar
SteveHopwood
Owner
Posts: 9904
Joined: Tue Nov 15, 2011 8:43 am
Location: Misterton - an insignificant village in England. Very pleasant to live in.

Baluda LibCSS

Post by SteveHopwood »

MathiasJ » Sat Aug 20, 2016 10:42 pm wrote:Thank you Baluda for this impressive library! :clap:

I have used it successfully with some modifications.
I have never seen the dot "." in variable names and function names before, at least not in MQL4.
Have I missed something here?
What I did to use it was to replace all "." with a "_" and then it compiled.

Some samples:
bool libCSS.useOnlySymbolOnChart = false;

void libCSS.init()
{
libCSS.initSymbols();
...


For me it worked when I changed it like this:
bool libCSS_useOnlySymbolOnChart = false;

void libCSS_init()
{
libCSS_initSymbols();
...


I develop in Empty4 since 4+ years.
How have other developers done when using this library?
BR
Mathias
You are correct. Paul coded the library before CrapT5 and OOP came along. All my shells have "." replaced by "_".

:xm:
Read the effing manual, ok?

Afterprime is the official SHF broker. Read about them at https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?p=175790#p175790.

I still suffer from OCCD. Good thing, really.

Anyone here feeling generous? My paypal account is always in the market for a tiny donation. pianodoodler@hotmail.com is the account.

To see The Weekly Roundup of stuff you guys might have missed Click here

My special thanks to Thomas (tomele) for all the incredible work he does here.
BobbyT
Trader
Posts: 232
Joined: Thu Aug 21, 2014 1:34 am
Location: Seattle

Baluda LibCSS

Post by BobbyT »

Hi Paul,

Besides the cosmetic changes (such as arrows), iMA (21 > 7), iATR (100 > 50) what else has changed between the original CSS and the latest and greatest superCSS?

I tried introducing the above variables (iMA, iATR) into LibCSS but I am getting some really strange values.

Cheers,
BobbyT

PS: I have noticed that although the indicator values to not change for a given bar (in the data window), when the bar is called through time it reports different values. This occurs regardless of cache purging or not.
Procrastination provides exponentially negative returns - BobbyT
BobbyT
Trader
Posts: 232
Joined: Thu Aug 21, 2014 1:34 am
Location: Seattle

Baluda LibCSS

Post by BobbyT »

BobbyT » Tue Sep 20, 2016 11:28 pm wrote:Hi Paul,

Besides the cosmetic changes (such as arrows), iMA (21 > 7), iATR (100 > 50) what else has changed between the original CSS and the latest and greatest superCSS?

I tried introducing the above variables (iMA, iATR) into LibCSS but I am getting some really strange values.

Cheers,
BobbyT

PS: I have noticed that although the indicator values to not change for a given bar (in the data window), when the bar is called through time it reports different values. This occurs regardless of cache purging or not.
Further to the above, will there be an update of LibCSS released specifically for SuperCSS?

Cheers,
BobbyT
Procrastination provides exponentially negative returns - BobbyT
afeudale
Trader
Posts: 59
Joined: Mon Aug 08, 2016 1:23 pm

Baluda LibCSS

Post by afeudale »

Thank you Paul for the awesome libCSS! Just what the doctor ordered for my EA :-)

I'd be curious about BobbyT's questions as well - i.e. the recent SuperCSS uses iMA 7 and iATR 50. Are those better settings than the original of 21/100? If so, is it a simple matter of just changing these in the mqh?
User avatar
Baluda
Trader
Posts: 330
Joined: Mon Feb 06, 2012 2:00 pm
Location: An insignificant village in the Netherlands

Baluda LibCSS

Post by Baluda »

SuperCSS is a mod by Bob, it uses 7 and 50 for the MA and ATR . The original CSS values has 21 and 100. Those cryptic 231/21/251 values in GetSlope() in are hard coded for the original MA and ATR.

Paul
Check the MQL4 Market for my best EA's and Indicators.
afeudale
Trader
Posts: 59
Joined: Mon Aug 08, 2016 1:23 pm

Baluda LibCSS

Post by afeudale »

Baluda » Wed Dec 07, 2016 3:45 pm wrote:SuperCSS is a mod by Bob, it uses 7 and 50 for the MA and ATR . The original CSS values has 21 and 100. Those cryptic 231/21/251 values in GetSlope() in are hard coded for the original MA and ATR.

Paul
Thanks Paul! :D
mazmazz
Posts: 1
Joined: Fri Dec 30, 2016 5:58 pm

Baluda LibCSS

Post by mazmazz »

Hello,

I thought I'd share a port of the old LibCSS to MQL5. It compiles as-is in both Empty4 and MT5 and it works great. I refactored some code (making it real OOP among other things), added a flag to calculate ala SuperSlope, and added a couple result methods.

Included is an indicator (LibCSS5Test) that shows how to use it, and also a chart template to check values to CSS and SuperSlope indis. Download is attached (and on Github).
libcsscompare.png
You do not have the required permissions to view the files attached to this post.
User avatar
SteveHopwood
Owner
Posts: 9904
Joined: Tue Nov 15, 2011 8:43 am
Location: Misterton - an insignificant village in England. Very pleasant to live in.

Baluda LibCSS

Post by SteveHopwood »

mazmazz » Fri May 19, 2017 3:35 am wrote:Hello,

I thought I'd share a port of the old LibCSS to MQL5. It compiles as-is in both Empty4 and MT5 and it works great. I refactored some code (making it real OOP among other things), added a flag to calculate ala SuperSlope, and added a couple result methods.

Included is an indicator (LibCSS5Test) that shows how to use it, and also a chart template to check values to CSS and SuperSlope indis. Download is attached (and on Github).
Thanks for posting this. :clap: :clap: :clap:

:xm:
Read the effing manual, ok?

Afterprime is the official SHF broker. Read about them at https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?p=175790#p175790.

I still suffer from OCCD. Good thing, really.

Anyone here feeling generous? My paypal account is always in the market for a tiny donation. pianodoodler@hotmail.com is the account.

To see The Weekly Roundup of stuff you guys might have missed Click here

My special thanks to Thomas (tomele) for all the incredible work he does here.
User avatar
gprince66
Trader
Posts: 73
Joined: Tue Jan 12, 2016 7:15 am
Location: Austin, TX USA

Baluda LibCSS

Post by gprince66 »

Thanks mazmazz. :hi: :good:
thor68
Posts: 4
Joined: Wed Nov 16, 2011 12:50 am

Baluda LibCSS

Post by thor68 »

Baluda » Wed Dec 07, 2016 2:45 pm wrote:SuperCSS is a mod by Bob, it uses 7 and 50 for the MA and ATR . The original CSS values has 21 and 100. Those cryptic 231/21/251 values in GetSlope() in are hard coded for the original MA and ATR.

Paul
Paul:

What does 231 and 251 refer to in above statement?

thor68
Post Reply

Return to “Nanningbob's Holy Grail Indicator forum”