NexusFi: Find Your Edge


Home Menu

 





Why will built-in indicators appear on main chart?


Discussion in EasyLanguage Programming

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




 
Search this Thread
  #1 (permalink)
swingbatter
Arlington
 
Posts: 18 since Feb 2020
Thanks Given: 6
Thanks Received: 3

Usually when you add a built-in TradeStation indicator, such as "Floor Trader Pivots," its default option is to "Scale on: Same Axis as Underlying Data" and it will appear on the main chart.

But others, like "Strategy Equity," default to "Scale on: Right Axis Sub-graph: 2" and will appear in a sub-graph.

Also, when I copy-paste the "Floor Trader Pivots" code, word-for-word, into a newly created indicator, and then add this new study, it now defaults to the sub-graph instead of the main chart.

Why? I don't see anything in the code that sets the "scale on" setting. Is there a way to code it? Would be nice if there was.


Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Iran Lebanon Problem Kills Switzerland Talks, Brent at $ …
Prediction Markets & Event Contracts
The May 31 Binary: 60% Trump Declares Iran Ops Over, Onl …
Prediction Markets & Event Contracts
CME Group CEO Calls CFTC-Approved Crypto Perps Dangerous …
Traders Hideout
Warsh Drops Easing Bias, December Hike Now Above 50% -- …
Prediction Markets & Event Contracts
$12M Ceasefire Contract Goes Disputed as Bandar Abbas St …
Prediction Markets & Event Contracts
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Big Mike in Ecuador
196 thanks
Sober Journey With S&P
27 thanks
30 Sessions
20 thanks
Volume Indicators
8 thanks
BERN ALGOS algo trading journal
8 thanks
  #2 (permalink)
 ABCTG   is a Vendor
 
Posts: 2,448 since Apr 2013
Thanks Given: 494
Thanks Received: 1,642

swingbatter,

you can only specify this on the Scaling tab of the indicator properties, but unfortunately not from the code. If you set this in the development environment for a study it will apply to every new instance to the study that you add to a chart.

Regards,

ABCTG


swingbatter View Post
Usually when you add a built-in TradeStation indicator, such as "Floor Trader Pivots," its default option is to "Scale on: Same Axis as Underlying Data" and it will appear on the main chart.

But others, like "Strategy Equity," default to "Scale on: Right Axis Sub-graph: 2" and will appear in a sub-graph.

Also, when I copy-paste the "Floor Trader Pivots" code, word-for-word, into a newly created indicator, and then add this new study, it now defaults to the sub-graph instead of the main chart.

Why? I don't see anything in the code that sets the "scale on" setting. Is there a way to code it? Would be nice if there was.


Follow me on X Reply With Quote
Thanked by:
  #3 (permalink)
swingbatter
Arlington
 
Posts: 18 since Feb 2020
Thanks Given: 6
Thanks Received: 3



ABCTG View Post
swingbatter,

you can only specify this on the Scaling tab of the indicator properties, but unfortunately not from the code. If you set this in the development environment for a study it will apply to every new instance to the study that you add to a chart.

Regards,

ABCTG

Oh cool! Dev Environment: File>Properties>Scaling to set the default graph placement when you add to a chart. Never knew about that.
Thanks again ABCTG.


Reply With Quote




Last Updated on September 24, 2021


© 2026 NexusFi®, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
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.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Downloads - Top
no new posts