Welcome to the Traders Laboratory Forums.
Coding Forum Collaborate, receive help, or discuss coding related issues.

Reply
Old 02-03-2009, 05:42 AM   #41

Join Date: Dec 2008
Location: vienna
Posts: 8
Ignore this user

Thanks: 5
Thanked 0 Times in 0 Posts

Re: Bid/Ask Indicator Similar to TradeFlow in CQG

hmm..so you mean I shall rather contact people at the
NT forum to get this coded since my C# knowledge is not enough to get this ...

or is there anyone else here who has the skills cooking the code
which blu ray was able to get running for TS - in order to be available as well for Ninja ?

regards
F
franko2 is offline  
Reply With Quote
Old 02-03-2009, 11:05 AM   #42

darthtrader3.0beta's Avatar

Join Date: Nov 2008
Posts: 118
Ignore this user

Thanks: 0
Thanked 26 Times in 15 Posts

Re: Bid/Ask Indicator Similar to TradeFlow in CQG

If you ask on the ninja forum they will just tell you they don't support custom plotting.
This stuff isn't straight forward in ninja, I would love to code this up for you but if you don't want to wait a few years for me to get up to speed your only real option would be to try one of the hired guns...
this guy I think will give you a price quote on programming it for you.
http://www.affordableindicators.com/
I've never used him before but he would probly be the cheapest and may find the challenge interesting in and of itself.
darthtrader3.0beta is offline  
Reply With Quote
Old 02-03-2009, 11:56 AM   #43

BlowFish's Avatar

Join Date: Mar 2007
Location: In Da House
Posts: 3,292
Ignore this user

Thanks: 129
Thanked 1,054 Times in 702 Posts

Re: Bid/Ask Indicator Similar to TradeFlow in CQG

F as Darth points out it will probably need the custom plot facilities to get it looking like that as things are now. Actually this might be a very worthwhile thing to discover more about, it certainly interests me.

I really know little about C# OR ninja for that matter. The whole approach is quit 'high level' which means there are routines and procedures to do most things (methods I guess is the correct name). Personally I find this hard to work with. I prefer to work with a small set of primitives, by the time you find the correct method and established exactly how it works on stuff you could have written something from scratch using the handful of well defined primitives!

What I am saying in a round about way is I can't give much in the way of assistance.

The reason I said 'as things are now' is that Ninja 7.0 is fairly imminent (that can be a long time in the software biz ) and one area that may well be improved (it is lacking right now) is plot types for studies. You could contact them to ask if a hi lo plot type for studies will be available in 7.0.

Another alternative is tradestation or multicharts, I think BluRay did a version of this in Easy Language (might be mistaken there).
BlowFish is offline  
Reply With Quote
The Following User Says Thank You to BlowFish For This Useful Post:
franko2 (02-03-2009)
Old 02-03-2009, 12:47 PM   #44

Join Date: Dec 2008
Location: vienna
Posts: 8
Ignore this user

Thanks: 5
Thanked 0 Times in 0 Posts

Re: Bid/Ask Indicator Similar to TradeFlow in CQG

Allright thanks

I understand for now it is not available ...for Ninja
alternative would be TS just to test it and see if it is worth working with it
since I use Ninja for charting I may consider this solution at a later stage ....maybe.

Anyways appreciate your comments

cheers
Franko
franko2 is offline  
Reply With Quote
Old 02-03-2009, 11:24 PM   #45

darthtrader3.0beta's Avatar

Join Date: Nov 2008
Posts: 118
Ignore this user

Thanks: 0
Thanked 26 Times in 15 Posts

Re: Bid/Ask Indicator Similar to TradeFlow in CQG

Quote:
Originally Posted by BlowFish »
Personally I find this hard to work with. I prefer to work with a small set of primitives, by the time you find the correct method and established exactly how it works on stuff you could have written something from scratch using the handful of well defined primitives!
You should check out the chartcontrol thread I started in the tools/ninja section here. Ninjascript certainly is in an odd place when it comes to doing something like this cqg chart. More primitives/basic functions is what I hope that thread will eventually evolve to. Maybe you can explain how tradestation does this as it was quite impressive to see how fast people knocked off this chart here..
I guess part of this is that when you override plot there are no limits to what you can do since your just drawing things based on X/Y cordinates on the canvas. Adding the fat/skiny bars would be trivial in ninja if the basics were done differently. The strange thing I'm finding with ninjascript is that its a modern OOP language with everything from the ninja guys done like its just a scripting language. No modularity, no code reuse...
I wouldn't hold your breath for this stuff in ninja 7. Their support is amazing for what they do support but I think anything more as far as charting opens up the C# can of worms which they are pretty clear they will not support much outside very basic programming.
darthtrader3.0beta is offline  
Reply With Quote
Old 02-04-2009, 04:27 AM   #46

BlowFish's Avatar

Join Date: Mar 2007
Location: In Da House
Posts: 3,292
Ignore this user

Thanks: 129
Thanked 1,054 Times in 702 Posts

Re: Bid/Ask Indicator Similar to TradeFlow in CQG

The reason why it is trivial in TS is that there is a Hi Lo plot style for indicators. You can calculate the %age @bid nad @ASK to split the bar, work out the 4 values (trivial) Hi,splitpoint splitpoint,low and simply plot as a red hi lo segment and a green hi lo segment.

It's sometimes the simplest things that make life easy.
BlowFish is offline  
Reply With Quote
Old 02-04-2009, 04:53 AM   #47

darthtrader3.0beta's Avatar

Join Date: Nov 2008
Posts: 118
Ignore this user

Thanks: 0
Thanked 26 Times in 15 Posts

Re: Bid/Ask Indicator Similar to TradeFlow in CQG

Quote:
Originally Posted by BlowFish »
The reason why it is trivial in TS is that there is a Hi Lo plot style for indicators. You can calculate the %age @bid nad @ASK to split the bar, work out the 4 values (trivial) Hi,splitpoint splitpoint,low and simply plot as a red hi lo segment and a green hi lo segment.
"Unfortunately this is not supported right now"
darthtrader3.0beta is offline  
Reply With Quote

Reply

Thread Tools
Display Modes Help Others By Rating This Thread
Help Others By Rating This Thread:


Similar Threads
Thread Thread Starter Forum Replies Last Post
Bid/ask Indicator? theman Coding Forum 6 05-30-2008 07:32 AM
Can someone recommend me a liquid CME Globex contract similar to CL in trading? The Bear Futures Trading Laboratory 3 01-27-2008 12:40 PM
Which indicator is the best one to use? Michael Stock Trading Laboratory 5 01-26-2008 11:30 AM

All times are GMT -4. The time now is 11:50 AM.
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
CS to VB integration by DeskLancer
©2006-2011 Traders Laboratory, All Rights Reserved.