TTM/DDF Value Chart - Page 6 - Traders Laboratory

Go Back   Traders Laboratory > Trading Resources > Trading Indicators > Coding Forum

Coding Forum Collaborate, receive help, or discuss coding related issues.

Reply
 
LinkBack Thread Tools Display Modes
  #51 (permalink)  
Old 06-19-2008, 09:36 PM
sean has no status.

 
Join Date: Nov 2007
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
Re: TTM/DDF Value Chart

Can any one know how to program value-chart indicator as Show-me

Thanks in advance
Sean

Reply With Quote
  #52 (permalink)  
Old 06-19-2008, 10:08 PM
phill has no status.

 
Join Date: May 2007
Posts: 4
Thanks: 1
Thanked 2 Times in 2 Posts
Re: TTM/DDF Value Chart

You should be able to insert the attached file (vc.eld) into Tradestation.
Attached Files
File Type: eld VC.ELD (6.6 KB, 15 views)

Reply With Quote
  #53 (permalink)  
Old 06-19-2008, 10:49 PM
sean has no status.

 
Join Date: Nov 2007
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
Re: TTM/DDF Value Chart

VC is not ShowMe

Reply With Quote
  #54 (permalink)  
Old 06-20-2008, 12:20 AM
phill has no status.

 
Join Date: May 2007
Posts: 4
Thanks: 1
Thanked 2 Times in 2 Posts
Re: TTM/DDF Value Chart

No, it's an indicator.

Reply With Quote
  #55 (permalink)  
Old 06-20-2008, 12:27 AM
sean has no status.

 
Join Date: Nov 2007
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
Re: TTM/DDF Value Chart

i am looking to get over-B and over-S (+8 or -8 )reading from valuechart as Show-Me on the the price/bar chart

thanks

Reply With Quote
  #56 (permalink)  
Old 06-20-2008, 01:14 AM
thrunner has no status.

 
Join Date: Feb 2007
Posts: 205
Thanks: 65
Thanked 60 Times in 35 Posts
Re: TTM/DDF Value Chart

In order to convert an indicator to a showme in TS you would usually copy and paste the original (eg. the VC above) code into a new showme code. Then replace the plot statements as followed
1. comment out the OHLC plots 1-4; you don't need them.
2. Replace plot5 and plot6 with the appropriate values.

Basically what you are doing is adjusting the plotting to the same scale as the underlying instrument.

{ If BarNumber > Numbars then Begin Plot1(VOpen,"VOpen"); Plot2(VHigh,"VHigh"); Plot3(VLow,"VLow"); Plot4(VClose,"VClose"); End; } If VHigh > Highest(VHigh,TwentyNumBars)[1] Then Begin Plot5( H + MinMove / PriceScale , {VHigh} "21BarVHigh"); Alert; end else NoPlot (5); IF VLow < Lowest(VLow,TwentyNumBars)[1] Then Begin Plot6( L - MinMove / PriceScale, {VLow} "21BarVLow"); Alert; end else NoPlot (6);
Attached Images
File Type: gif VC showme 2008-06-20_011027.gif (16.5 KB, 73 views)

Reply With Quote
  #57 (permalink)  
Old 06-20-2008, 09:26 AM
sean has no status.

 
Join Date: Nov 2007
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
Re: TTM/DDF Value Chart

its look great on the pic its what i am looking for but i have hard time to convert the code to Show-me its give me error message

Can you add ELD to down load or post the code for show-me

thanks


Last edited by sean; 06-20-2008 at 09:54 AM. Reason: or add the code
Reply With Quote
  #58 (permalink)  
Old 06-20-2008, 11:48 PM
sean has no status.

 
Join Date: Nov 2007
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
Re: TTM/DDF Value Chart

Here is the code thanks for all the help

Quote:

[LegacyColorValue = true];

{************************ ************************* ******************
Description : This Indicator plots Value Chart prices.
Provided By : Mark W. Helweg (c) Copyright 2001
************************* ************************* ******************}

Inputs:NumBars(5);
Variables:Vopen(0),VHigh( 0),VLow(0),VClose(0),Var1 (0),Var2(0);
Var: VcloseLam(0),ValueSOB(" "),ValueMOB(" "),ValueMOS(" "), ValueSOS(" "), ValueFair(" "), lastdate(0);


{Calcualte Value Chart}
VOpen = VChart(NumBars,Open);
VHigh = VChart(NumBars,High);
VLow = VChart(NumBars,Low);
VClose = VChart(NumBars,Close);

{Plot Value Chart - Disregards the first 20 bars because Omega doesn't process them correctly}
If BarNumber > Numbars then Begin

End;

If VHigh > 8 Then Begin
Plot5( H + MinMove / PriceScale , {VHigh} "21BarVHigh");
Alert;
end
else
NoPlot (5);

if VLow <-8 Then Begin
Plot6( L - MinMove / PriceScale, {VLow} "21BarVLow");
Alert;
end
else
NoPlot (6);


if VHigh > 8 then Alert("ValueChart +8");
if VLow <-8 then Alert("ValueChart -8");
This set-up work 9 out of 10 time for reversal or end of the trend on 2 minuets chart with VC setting is (+7 and -7) with extreme volume

sean
Attached Images
File Type: jpg Copy of value chart Show me with vol.jpg (189.7 KB, 52 views)

Reply With Quote
  #59 (permalink)  
Old 07-28-2008, 12:51 PM
pwald9 has no status.

 
Join Date: Feb 2007
Posts: 3
Thanks: 1
Thanked 1 Time in 1 Post
Re: TTM/DDF Value Chart

Hi Guys. I have the code for the value chart indicator in TS but can not get it to plot as candlesticks, only bars, line, points etc. Is there any reason for this, that I a humble non-programmer doesn't realise?

many thanks

Reply With Quote
  #60 (permalink)  
Old 07-28-2008, 12:54 PM
forsearch's Avatar
forsearch is ...

 
Join Date: Mar 2007
Posts: 484
Thanks: 96
Thanked 82 Times in 59 Posts
Re: TTM/DDF Value Chart

That's the way TS is setup for an indicator. No candlesticks, just bars, line, points, etc.

Reply With Quote
The Following User Says Thank You to forsearch For This Useful Post:
pwald9 (07-28-2008)
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
YM Chart 7/27/07 TinGull The Candlestick Corner 2 07-30-2007 07:54 AM
a VSA chart a Day flatwallet Beginners Forum 27 05-05-2007 12:41 PM
Chart-ex.com torero Broker & Software Review 1 04-01-2007 08:35 PM
Chart Set-up wsam29 Market Analysis 10 03-05-2007 04:13 PM
MP Chart TinGull Market Profile® 2 12-09-2006 12:03 AM


All times are GMT -4. The time now is 02:45 AM.

 


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76