OmniTrader Professional Forum OmniTrader Professional Forum
forums calendars search
today this week
 
register logon control panel Forum Rules
You are currently browsing as a guest.
You should logon to access more features
A Self-Moderated Community - ALL MEMBERS, PLEASE READ!
Vote for Members who contribute the most to your trading, and help us moderate content within the Forums.


  Current location        Thread information  
OmniTrader Professional Forum
OmniTrader Pro General Discussion
Plotting Guppy CBL
Last Activity 2/23/2025 4:01 AM
8 replies, 2720 viewings

Jump to page : 1
Now viewing page 1 [25 messages per page]
 
back reply
Printer friendly version

^ Top
mholstius

Regular
252525
Posts: 76

Joined: 6/15/2011

User Profile
 
Subject : Plotting Guppy CBL
Posted : 12/15/2019 2:16 PM
Post #30681

Since my Bash presentation, a number of people have said they’re interested in using the Guppy Countback Line with Heikin Ashi charts but aren’t familiar with using Omnilanguage to implement it various ways in OT.

I’m not an Omnilanguage pro… I defer to Jim Dean and all the excellent assistance he’s given so freely on his Tradetight.org site if you want to truly explore the world of Omnilanguage. I know he’d code what I’ll share here much more efficiently than I but…

I’ve attached an Omnilanguage system to this post ("MarkCBLsys.txt) that demonstrates some ways to use CBL - for entries, trailing stops, exits, and trends.

If you’re not familiar with using Omnilanguage in OT, you just need to download the attached “MarkCBLsys.txt” and put it in the OT2020 VBA/Systems folder;




After that, the file needs to be compiled before it can be used.
You can either close and reopen OT to compile it automatically or go to Edit / Omnilanguage / Build / Recompile;




After compiling, you can then go to Chart Options /Systems to enable the MarkCBLsys;




However, there’s another (better) way to add it to the chart…

Right click on the chart and then choose Add System/Omnilanguage/MarkCBLsys;




Both ways will accomplish it, but the second way will allow you to repeat the process and load the system more than once (more on why that’s good later).

Once loaded, the system gives you 3 options – CBLcount, Signals, & Crossover;




CBLcount: the # of bars used in the CBL calculations (1 to 30)
Signals: 1 to plot the signals on the chart, 0 for none
Crossover: 1 to see the CBL line as it crosses the bars, 0 for a 2-bar delay

It’s easier to see the results of modifying each setting… (a picture’s worth a 1,000 words);










I use black for my chart backgrounds and have programmed the crossover line to be black in the file. If you use a different background color and like the view without the crossovers, you can adjust the color in lines 39 and 69 of the file to have the CBL match your background color during the crossovers.

Here's a link to Jim Dean's excellent post on the different colors available to use in Omnilanguage;

http://tradetight.org/forums/thread-view.asp?tid=258&posts=14&highlight=color%20summary&highlightmode=1#M8855


It’s obviously up to you, but I’ve found these OT chart color settings to work well while watching HA bars in real time;




Now, back to why it’s helpful to right click on the chart to Add System/Omnilanguage/MarkCBLsys…

Doing it this way, we can have more than one instance of the system loaded.

When loading the second instance of the system, you’ll get the option to adjust the settings when it first loads – and I’d suggest using 12 / 0 / 0 for two reasons…

1) It makes the plot different, so it’s easier to double left click on the CBL lines to modify the settings.
2) With higher CBLcount numbers and no signals, it makes an interesting Trend Indicator that adjusts to volatility.

Doing a double left click on the CBL lines on the chart brings up the settings and allows us to see what happens dynamically on the chart as they’re modified.

Try modifying the CBLcount with the signals off to see how it can be used as a trend indicator.
Here it is set at CBL(12);




Here’s a snag of what it looks like using a system with a CBL(4) with signals - and a second with CBL(12) and no signals as a trend indicator;




While my Bash presentation focused on my interest in trading Forex, the CBL can be beneficial with any instrument…

Here it is with a daily SPY chart;




And with a 1 min SPY chart this past Thursday just after the open;




Have fun experimenting to see what works best with whatever you’re trading…

Hope this helps – and that the holiday season is good for you!

Mark

Heads up... I just found out that the "MarkCBLsys.txt" file that was originally attached to this post had an extraneous line added at the end that kept it from compiling.
I've just edited and reloaded the file and I hope there's no problem with the current one (as of 16:01 CST).
Please let me know if it doesn't compile correctly.
Sorry if you downloaded the earlier version - guess Microsoft had some fun with me this morning...???



[Edited by mholstius on 12/15/2019 4:05 PM]

Attached file : 00 Path.png (17KB - 1249 downloads)
Attached file : 01 compile.png (40KB - 1206 downloads)
Attached file : 02 Chart options.png (24KB - 1223 downloads)
Attached file : 03 System Selection.png (229KB - 1265 downloads)
Attached file : 04 Options.png (15KB - 1194 downloads)
Attached file : 05 Signals On.png (45KB - 1209 downloads)
Attached file : 06 Signals Off.png (56KB - 1220 downloads)
Attached file : 07 Signals Off Crossover Off.png (55KB - 1216 downloads)
Attached file : 08 color settings.png (47KB - 1193 downloads)
Attached file : 09 CBL As Trend.png (44KB - 1190 downloads)
Attached file : 10 CBL twice.png (81KB - 1208 downloads)
Attached file : 11 SPY Daily.png (44KB - 1204 downloads)
Attached file : 12 SPY Minute.png (52KB - 1216 downloads)
Attached file : MarkCBLsys.txt (2KB - 332 downloads)

^ Top
mgerber

Regular
2525
Posts: 57

Joined: 3/30/2006
Location: Issaquah, WA

User Profile
 
Subject : RE: Plotting Guppy CBL
Posted : 12/17/2019 2:23 PM
Post #30685 - In reply to #30681

Thank you very much for this, Mark.

Greatly appreciated.


--Mark G.
^ Top
Greg

Legend
10010010025
Posts: 337

Joined: 3/22/2006
Location: Mishawaka, IN 46544

User Profile
 
Subject : RE: Plotting Guppy CBL
Posted : 12/17/2019 6:24 PM
Post #30686 - In reply to #30681

Mark, Thank you for the GCBL system. From a step back and squint perspective (a Jim Dean technical analysis evaluation recommendation :>) ) the GCBL appears to be a very reliable indicator for the Forex on the short TF. Thanks for blazing the trail. And as strange as it may seem the OBV-C plays a very nice supportive role with the GCBL even though Forex does not technically have a volume to measure as stated below. Not quite sure what it is seeing to provide the signals

"The Forex market is a decentralized market, which means that there is no formula for volume or method of keeping track of the number of contract and contract sizes, such as in the stock market. The Forex market measures volume by counting the tick movements."



[Edited by Greg on 12/17/2019 6:38 PM]

^ Top
wolf

Veteran
10025
Posts: 135

Joined: 4/21/2011
Location: Germany

User Profile
 
Subject : RE: Plotting Guppy CBL
Posted : 12/21/2019 2:16 AM
Post #30690 - In reply to #30681

Hello Mark,
first thank you for sharing your CBLsystem.
Compiling it I get an error. Compiler is returning value 1. I am running a German Windows 10 Version. I changed it to US Region setting, however the error still arises. Do you have an idea what could be the reason.

Regards
Wolfgang
^ Top
mholstius

Regular
252525
Posts: 76

Joined: 6/15/2011

User Profile
 
Subject : RE: Plotting Guppy CBL
Posted : 12/21/2019 5:52 AM
Post #30691 - In reply to #30690

Hmmm
I haven't gotten any negative feedback with the "MarkCBLsys.txt" file currently attached to the first post in this thread.
The file that was originally attached gave someone a compile error due to an extra character in the last line, but I thought that was corrected.
Are you working with the current file, or maybe the one that gave errors the first hour or so the post was up?
I should've renamed the file when I posted the correction - my bad.

I'll attach 2 "new" files that contain the same CBL system code;

"MarkCBLsyscopy.txt"
"MarkCBLsyscopy.rtf"

(The rtf is a rich text format file that could possibly be of help...)

Try putting the "MarkCBLsyscopy.txt" file in the VBA / Systems folder and then compiling it - there may be something about the original file that's giving you a problem.

If that doesn't work, open the rtf file and then copy the text (making sure there are no extra characters at the end) and paste it into a new VBA / System file you create and name and see if that compiles...

Mark

[Edited by mholstius on 12/21/2019 5:55 AM]

Attached file : MarkCBLsyscopy.txt (2KB - 305 downloads)
Attached file : MarkCBLsyscopy.rtf (42KB - 277 downloads)

^ Top
wolf

Veteran
10025
Posts: 135

Joined: 4/21/2011
Location: Germany

User Profile
 
Subject : RE: Plotting Guppy CBL
Posted : 12/21/2019 7:32 AM
Post #30692 - In reply to #30681

Hello Mark
now it runs. I compiled the ….rtf File within Omnilanguage
Thank you for the assistance

Wolfgang
^ Top
John J

Regular
252525
Posts: 90

Joined: 12/20/2011
Location: Leduc

User Profile
 
Subject : RE: Plotting Guppy CBL
Posted : 12/24/2019 4:45 PM
Post #30699 - In reply to #30681

Hi Greg,

The Guppy CBL is a Volatility Based Indicator. Did you get that mixed up with Volume.?
^ Top
Greg

Legend
10010010025
Posts: 337

Joined: 3/22/2006
Location: Mishawaka, IN 46544

User Profile
 
Subject : RE: Plotting Guppy CBL
Posted : 12/24/2019 7:51 PM
Post #30700 - In reply to #30681

My comment was regarding the OBV-C which I believe is On Balance of Volume. I am not sure what the indicator is measuring. There is evidently some value that is registering to provide the volume measure. While it is late it also provided a nice forex signal in support of the trend.
^ Top
Shaun

Member

Posts: 5

Joined: 12/13/2007
Location: hobart

User Profile
 
Subject : RE: Plotting Guppy CBL
Posted : 1/21/2025 7:22 PM
Post #32501 - In reply to #30681

Hello Mark, have you had a chance to compare the CBL with supertrend?
Jump to page : 1
Now viewing page 1 [25 messages per page]
back reply

Legend    Action      Notification  
Administrator
Forum Moderator
Registered User
Unregistered User
E-Mail this thread to a friend
Toggle e-mail notification


Nirvana Systems
For any problems or issues please contact our Webmaster at webmaster@nirvsys.com.