NexusFi: Find Your Edge


Home Menu

 





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


Discussion in EasyLanguage Programming

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




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

Hi,

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.

Thanks


Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Cocretum bands convert to NinjaTrader8
NinjaTrader
GFIs1 DAX System
Traders Hideout
Ninja Trader Web version
NinjaTrader
Using multiple Versions of the same DLL in MC.Net
MultiCharts
Tech-Savvy Trader Seeking Collaboration with Trading Pla …
Emini and Emicro Index
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Machine Learning Journal
41 thanks
Is the WH trying to engineer a recession? This Wall Stre …
15 thanks
Demark Indicator
3 thanks
OpenAIs Deep Research - finance/trading related prompts
3 thanks
Daytrading ES & NQ
3 thanks
  #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)
kidvic
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.

Cheers!


Reply With Quote




Last Updated on May 18, 2015


© 2025 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