Need help with basic indicator - futures io
futures io



Need help with basic indicator


Discussion in TradeStation

Updated
    1. trending_up 349 views
    2. thumb_up 1 thanks given
    3. group 2 followers
    1. forum 3 posts
    2. attach_file 3 attachments




Welcome to futures io: the largest futures trading community on the planet, with well over 125,000 members
  • Genuine reviews from real traders, not fake reviews from stealth vendors
  • Quality education from leading professional traders
  • We are a friendly, helpful, and positive community
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts
  • We are here to help, just let us know what you need
You'll need to register in order to view the content of the threads and start contributing to our community.  It's free and simple.

-- Big Mike, Site Administrator

(If you already have an account, login at the top of the page)

 
Search this Thread
 

Need help with basic indicator

(login for full post details)
  #1 (permalink)
 Tc5953 
Fresno CA
 
Experience: Intermediate
Platform: Ninja trader
Trading: Futures
 
Posts: 18 since Aug 2019
Thanks: 9 given, 19 received

I have been using TOS for my executions on stocks and options and I have been having a ton of issues with fills and platform freezing etc, I am looking for help on two simple indicators I have been using on TOS and wondering if someone here could help out? I would be wiling to pay if needed.

The two indicators just sit on the top left corner of my chart and constantly update as price moves...Once tells me the spread, the other just tells me the ATR in $ (based on 14 day) and it tells me what percentage it has moved of that ATR and also what $ range it has moved vs the ATR.

Mine currently changes color at anything over 100% etc but I dont need it to do that I just need these things in the top left corner or bottom left corner of the chart

See screen shot below, obviously I have the TOS script if that helps but from what I understand it doesnt really for easy language



Started this thread Reply With Quote

Can you help answer these questions
from other members on futures io?
Wyckoff room
The Elite Circle
Deleting Custom script for the watchlist
ThinkOrSwim
Price Action Swing Pro NT8
NinjaTrader
Using fxd files in FXCM trading station
Platforms and Indicators
MCnet: (Multi-Timeframe) EMA @ Weekly Data on Daily Chart
MultiCharts
 
Best Threads (Most Thanked)
in the last 7 days on futures io
The Beast Slayer, Lances NQ Trading Journal
45 thanks
Spoo-nalysis ES e-mini futures S&P 500
22 thanks
Michael Burry warns the Mother of All Crashes is coming
21 thanks
FairX is launching soon
17 thanks
Chart Trader Alternatives ?
14 thanks
 
(login for full post details)
  #2 (permalink)
sloth
Denver, CO
 
 
Posts: 11 since May 2021
Thanks: 4 given, 18 received

Hi Tc,

I'm not a quant or programmer but since you haven't received any replies to this in almost a week I'll take a stab at this. NOTE: I haven't used tradestation in many years. I don't know how to create a box like you've described but you can open an RadarScreen window and size it to your liking. Maybe a real programmer can chime in and shed some light on the subject. Anyhow, you can create an new indicator in easy language and code something like this:

Variables: DTR(0), DTRpct(0),ATR(0), SPD(0);
inputs: ATRLength(14) ;


DTR = HighD(0) - LowD(0) ;
ATR = AvgTrueRange( ATRLength );
DTRpct= DTR / ATR *100;
SPD = CurrentAsk - CurrentBid;

Plot1( DTRpct, "DTR%" ) ;
Plot2( DTR, "DTR" ) ;
Plot3( ATR, "ATR" ) ;
Plot4(SPD,"SPD");


Condition1 = FALSE ;
if Condition1 then
Alert( "" ) ;

After you've created the indicator, open a new radar screen and insert the indicator. You can add or delete the fields that you'd like to see. The results will look something like this:

"Sorry, I cannot post images until I have 5 posts at futures.io"

The spread isn't populating for some reason but as you can see from above - it's defined as the current offer minus the current bid. Anyhow - you can reduce the window and put it in your workspace - unless you can figure out how to populate data in a box on the chart itself. That's beyond my current skillset with tradestation - but - I hope this at least gets you started in the right direction.

Cheers!

Attached Thumbnails
Click image for larger version

Name:	image_562.png
Views:	15
Size:	15.7 KB
ID:	313903  
Reply With Quote
The following user says Thank You to sloth for this post:
 
(login for full post details)
  #3 (permalink)
 Tc5953 
Fresno CA
 
Experience: Intermediate
Platform: Ninja trader
Trading: Futures
 
Posts: 18 since Aug 2019
Thanks: 9 given, 19 received



sloth View Post
Hi Tc,

I'm not a quant or programmer but since you haven't received any replies to this in almost a week I'll take a stab at this. NOTE: I haven't used tradestation in many years. I don't know how to create a box like you've described but you can open an RadarScreen window and size it to your liking. Maybe a real programmer can chime in and shed some light on the subject. Anyhow, you can create an new indicator in easy language and code something like this:

Variables: DTR(0), DTRpct(0),ATR(0), SPD(0);
inputs: ATRLength(14) ;


DTR = HighD(0) - LowD(0) ;
ATR = AvgTrueRange( ATRLength );
DTRpct= DTR / ATR *100;
SPD = CurrentAsk - CurrentBid;

Plot1( DTRpct, "DTR%" ) ;
Plot2( DTR, "DTR" ) ;
Plot3( ATR, "ATR" ) ;
Plot4(SPD,"SPD");


Condition1 = FALSE ;
if Condition1 then
Alert( "" ) ;

After you've created the indicator, open a new radar screen and insert the indicator. You can add or delete the fields that you'd like to see. The results will look something like this:

"Sorry, I cannot post images until I have 5 posts at futures.io"

The spread isn't populating for some reason but as you can see from above - it's defined as the current offer minus the current bid. Anyhow - you can reduce the window and put it in your workspace - unless you can figure out how to populate data in a box on the chart itself. That's beyond my current skillset with tradestation - but - I hope this at least gets you started in the right direction.

Cheers!



That is awesome and is a great work around until I can get someone to help me put it into the chart! One question I have, I am hoping you or someone can help with.....When I link the radar screen to my chart and I change the symbol in the chart, it isnt changing the symbol in the radar screen (or adding it, if not already in there) does anyone know how to do that so I dont have to manually add it to the radar screen or scroll through the whole list to find the one I just switched too? P.S. I have everything linked globally to the right color

All the help is much more appreciated than you know!

Started this thread Reply With Quote
 
(login for full post details)
  #4 (permalink)
sloth
Denver, CO
 
 
Posts: 11 since May 2021
Thanks: 4 given, 18 received

TC,

There's a box in the upper right hand corner of your radar screen with an 'S' - click on it and make it green. On the same tab, open a chart and select the same S and turn it green. Now the radar screen and that chart window and linked. If you double click on any symbol in your radar screen - the linked chart will populate with that symbol. If I understand your question, that should do the trick. Does tradestation still have a users forum? There used to be some really talented people in there willing to help. As mentioned previously, I don't really use TS any longer and my skills are fairly limited.
Radar


Good luck!

Edit - I just reread your post. Clearly you know how to link things globally. Is having a symbol list on your radarscreen not workable? Alternaively, change the symbol in your radarscreen vs. changing it in the chart?? I dunno - there are probably some videos out there on how to display an indicator value in Tradestation on a chart somewhere. If you find one, lemme know and we can amend the code posted above.

Reply With Quote


futures io Trading Community Platforms and Indicators TradeStation > Need help with basic indicator


Last Updated on June 11, 2021


Upcoming Webinars and Events
 

NinjaTrader Indicator Challenge!

Ongoing
 

Our 12-year anniversary w/ $$,$$$ prizes (check soon)

June
     



Copyright © 2021 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada), info@futures.io
All information is for educational use only and is not investment advice.
There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
no new posts