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

Reply
Old 12-24-2008, 10:57 AM   #1

Join Date: May 2008
Location: temecula
Posts: 30
Ignore this user

Thanks: 11
Thanked 0 Times in 0 Posts

Question Quick Question About Tradestation Indicators

Hello,

I just wrote one of my first working indicators in tradestation (its a very simple pivot point indicator) However, my question is ... tradestation always puts the value of the indicator on the price axis, does anyone know how to get rid of this? (The green circled values in the picture are what I'm talking about)

I tried in the "Format Analysis Techniques" section and disabled the "Display Update Indication" option but it doesnt work.

Anyone else have any luck getting rid of these indicator values?

Thanks

Travis
Attached Thumbnails
Quick Question About Tradestation Indicators-tradestation-question.jpg  
trbates is offline  
Reply With Quote
Old 12-24-2008, 11:55 AM   #2

Join Date: May 2007
Location: Toronto
Posts: 265
Ignore this user

Thanks: 9
Thanked 153 Times in 56 Posts

Re: Quick Question About Tradestation Indicators

Right Click on the indicator's line or whatever it is on the chart - change the Scale to NO AXIS.
bakrob99 is offline  
Reply With Quote
Old 12-25-2008, 09:54 AM   #3

Join Date: May 2008
Location: temecula
Posts: 30
Ignore this user

Thanks: 11
Thanked 0 Times in 0 Posts

Re: Quick Question About Tradestation Indicators

Thank for the speedy response ... Though, when I change the scale to "no axis" it changes the value of the indicator. I tried on a standard indicator (not written by me) and on my pivot points. They both changed values...

Am I just doing something wrong?

Thanks again, I really appreciate the help thus far

Travis

I'll attach pictures so you can see what I mean. The first is with scaling, and the second is without.
Attached Thumbnails
Quick Question About Tradestation Indicators-ts_1.jpg   Quick Question About Tradestation Indicators-ts_2.jpg  
trbates is offline  
Reply With Quote
Old 12-25-2008, 03:34 PM   #4

Join Date: Feb 2007
Location: US
Posts: 314
Ignore this user

Thanks: 86
Thanked 206 Times in 89 Posts

Re: Quick Question About Tradestation Indicators

Quote:
Originally Posted by trbates »
I tried in the "Format Analysis Techniques" section and disabled the "Display Update Indication" option but it doesnt work.
You were on the right track. You have to do that for each plot and it looks like you have several.

You really can't use scaling to no axis and expect a correct value because the plots will be 'floating' with respect to the symbol.
thrunner is offline  
Reply With Quote
Old 12-25-2008, 03:40 PM   #5

thehaul's Avatar

Join Date: Dec 2008
Location: West Coast, USA
Posts: 35
Ignore this user

Thanks: 10
Thanked 1 Time in 1 Post

Re: Quick Question About Tradestation Indicators

I know you're looking to fix your scaling issue but I use a plot cycle average that is similar. It might help...? It definitely shows the zero point of the market for whatever resolution you're looking at. It's not a stand alone solution but in the photo it looks like it could be! But, I use MAs, S&R, Murray Math and pivots to determine high probability trades. There's two lengths of the average is in the 2nd pane (lower), the cyan and yellow stair stepping lines. I look for confluence between two of my criteria in order to get in. See how price retraced to the yellow average (on bottom chart) and murray math agreed (long wick in overnight session). Also on the 5 min chart on top price retraced to the MA and murray math also agreed! Best of luck!

inputs:
len (4);
variables:
theavg(0),
highBarsAgo(1),
possibleHighBarsAgo(1),
possibleHigh(-2),
hightoBeat(-1),
barsSincePaint(1),
lowBarsAgo(1),
possibleLowBarsAgo(1),
possibleLow(10000001),
lowtoBeat(10000000),
triggerPriceSell(-1),
triggerPriceBuy(1000000),
trend(1),
_UP(1),
_DOWN(-1),
_ON(1),
_OFF(-1),
s_low(1),
s_high(1);

//************************* ************************* *
//****** Find and plot the highest swing high *******
//************************* ************************* *
if trend = _UP then begin

if swingHighBar(1,H,2,barsSi ncePaint+2) > -1 then begin
possibleHighBarsAgo = swingHighBar(1,H,1,barsSi ncePaint+2);
possibleHigh = H[possibleHighBarsAgo];
end;

if possibleHigh >= hightoBeat then begin
highBarsAgo = possibleHighBarsAgo;
hightoBeat = possibleHigh;
triggerPriceSell = L[HighBarsAgo - 1];


end;


if C < triggerPriceSell and
highest(high,highBarsAgo) < hightoBeat then begin
//plotpb[highBarsAgo](H[highBarsAgo],L[highBarsAgo],"");
trend = _DOWN;
barsSincePaint = highBarsAgo-1;
hightoBeat = -1;
lowtoBeat = 10000000;
triggerPriceBuy = 10000000;
triggerPriceSell = -1;
highBarsAgo = 1;
possibleHigh = -2;
s_high = L[HighBarsAgo - 1];
theavg = average((( s_low + s_high) /2 ), len);
end;

end;

//************************* ************************* *
//****** Find and plot the lowest swing low *********
//************************* ************************* *

if trend = _DOWN then begin

if swingLowBar(1,L,2,barsSin cePaint+2) > -1 then begin
possibleLowBarsAgo = swingLowBar(1,L,2,barsSin cePaint+2);
possibleLow = L[possibleLowBarsAgo];
end;

if possibleLow <= lowtoBeat then begin
lowBarsAgo = possibleLowBarsAgo;
lowtoBeat = possibleLow;
triggerPriceBuy = H[LowBarsAgo - 1];
end;


if C > triggerPriceBuy and
lowest(L,lowBarsAgo) > lowtoBeat then begin
//plotpb[lowBarsAgo](H[lowBarsAgo],L[lowBarsAgo],"");
trend = _UP;
barsSincePaint = lowBarsAgo-1;
possibleLow = 10000001;
lowtoBeat = 10000000;
hightoBeat = -1;
triggerPriceBuy = 10000000;
triggerPriceSell = -1;
lowBarsAgo = 1;
s_low = H[LowBarsAgo - 1];
theavg = average((( s_low + s_high) /2 ), len);
end;

end;


Plot3(theavg, "Avg" ) ;

barsSincePaint = barsSincePaint+1;
if trend = _UP then highBarsAgo = highBarsAgo + 1;
if trend = _DOWN then lowBarsAgo = lowBarsAgo + 1;


thehaul 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
Quick Broker Question trbates Brokers and Data Feeds 12 05-26-2009 02:46 PM
Question about Tradestation Indicators zhao77 Coding Forum 4 02-13-2008 06:41 PM
A quick question on EuroDollar? yjl Beginners Forum 4 01-28-2008 03:56 PM
A few quick questions on Tradestation... MC Brokers and Data Feeds 4 11-04-2007 09:39 AM
TRO Indicators for TradeStation TheRumpledOne Trading Indicators 11 08-29-2007 09:57 AM

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