NexusFi: Find Your Edge

Home Menu


Most basic plot is coming up wrong in Tradestation with Easy Language

Discussion in EasyLanguage Programming

      Top Posters
    1. looks_one Jura with 1 posts (0 thanks)
    2. looks_two kidvic with 1 posts (0 thanks)
    3. looks_3 Quick Summary with 1 posts (0 thanks)
    4. looks_4 RunnrX with 1 posts (0 thanks)
    1. trending_up 1,485 views
    2. thumb_up 0 thanks given
    3. group 2 followers
    1. forum 3 posts
    2. attach_file 0 attachments

Search this Thread

Most basic plot is coming up wrong in Tradestation with Easy Language

  #1 (permalink)
Toronto, Canada
Posts: 1 since Apr 2013
Thanks Given: 0
Thanks Received: 0


I've been working on a way to draw high and low pivots and then mark them with trend lines, and as a strategy code it has been working successfully.

I wanted to code it as an indicator instead that plots the high and low pivots, but using the same calculations and plotting the values that successfully appeared as trendlines yielded a blank chart

I took it a step further and now I can't understand what I'm seeing. I made the simplest of new indicators, completely blank and the only formatting I did to it was to set it to be on Subgraph 1. The only line of code it contains is "Plot1(Close);"

But when added to the chart, it is not plotting anything remotely similar to the close - it seems to be arbitrarily putting whatever values it wants. My mind is burned out from trying to look at this, can anyone tell me what is wrong with either me or what I'm doing?

I wanted to attach a screenshot of what I'm getting for Plot1(Close); , but my post count is too low to allow adding links or images.

But please then visualize a set of ordinary candlesticks with a red plot line that is basically a few ticks above the high of each candle instead of at its close. It is also not plotting at the close of the prior one, or any nearby one, as though it were displaced.


Reply With Quote

Can you help answer these questions
from other members on NexusFi?
NT7 Indicator Script Troubleshooting - Camarilla Pivots
Cheap historycal L1 data for stocks
Stocks and ETFs
Better Renko Gaps
The Elite Circle
What broker to use for trading palladium futures
Quant vue
Trading Reviews and Vendors
  #3 (permalink)
Jura's Avatar
 Jura   is a Vendor
Posts: 775 since Apr 2010
Thanks Given: 2,352
Thanks Received: 690

I'd suggest to contact support for this because it's too hard to tell/guess what might be going on here.

Reply With Quote
  #4 (permalink)
Los Angeles, CA
Posts: 92 since Mar 2015
Thanks Given: 13
Thanks Received: 3

I had a similar issue however, I am using Multicharts.
the problem was fixed by going to the study properties,
clicking on the Scaling tab and selecting "same as instrument" under scaling range.

I wouldn't know how to do it in TradeStation, but this might point you in the right direction.


Reply With Quote

Last Updated on May 18, 2015

© 2024 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 - Privacy Policy - Downloads - Top
no new posts