Jump to content

Welcome to the new Traders Laboratory! Please bear with us as we finish the migration over the next few days. If you find any issues, want to leave feedback, get in touch with us, or offer suggestions please post to the Support forum here.

  • Welcome Guests

    Welcome. You are currently viewing the forum as a guest which does not give you access to all the great features at Traders Laboratory such as interacting with members, access to all forums, downloading attachments, and eligibility to win free giveaways. Registration is fast, simple and absolutely free. Create a FREE Traders Laboratory account here.


Quick Question About Tradestation Indicators

Recommended Posts



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?






Share this post

Link to post
Share on other sites

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 :)




I'll attach pictures so you can see what I mean. The first is with scaling, and the second is without.



Share this post

Link to post
Share on other sites
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.

Share this post

Link to post
Share on other sites

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!



len (4);























//****** Find and plot the highest swing high *******


if trend = _UP then begin


if swingHighBar(1,H,2,barsSincePaint+2) > -1 then begin

possibleHighBarsAgo = swingHighBar(1,H,1,barsSincePaint+2);

possibleHigh = H[possibleHighBarsAgo];



if possibleHigh >= hightoBeat then begin

highBarsAgo = possibleHighBarsAgo;

hightoBeat = possibleHigh;

triggerPriceSell = L[HighBarsAgo - 1];






if C < triggerPriceSell and

highest(high,highBarsAgo) < hightoBeat then begin


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);






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



if trend = _DOWN then begin


if swingLowBar(1,L,2,barsSincePaint+2) > -1 then begin

possibleLowBarsAgo = swingLowBar(1,L,2,barsSincePaint+2);

possibleLow = L[possibleLowBarsAgo];



if possibleLow <= lowtoBeat then begin

lowBarsAgo = possibleLowBarsAgo;

lowtoBeat = possibleLow;

triggerPriceBuy = H[LowBarsAgo - 1];




if C > triggerPriceBuy and

lowest(L,lowBarsAgo) > lowtoBeat then begin


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);






Plot3(theavg, "Avg" ) ;


barsSincePaint = barsSincePaint+1;

if trend = _UP then highBarsAgo = highBarsAgo + 1;

if trend = _DOWN then lowBarsAgo = lowBarsAgo + 1;




Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...

Important Information

By using this site, you agree to our Terms of Use.