NexusFi: Find Your Edge


Home Menu

 





Retrieve previous day's close and current day's open on intraday chart


Discussion in EasyLanguage Programming

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




 
 

Retrieve previous day's close and current day's open on intraday chart

 
mandelmus
Dallas, TX
 
Posts: 8 since Jun 2011
Thanks Given: 2
Thanks Received: 3

What's the best way to retrieve the previous day's closing price and the current day's opening price while using an intraday chart? Also, how does displaying pre- and post-market data affect those results?

I found this listed under the TS Development Environment help file, but when running this indicator in RadarScreen, it only displays a "-1".

 
Code
Example
Assigns the Close of the previous day on an intraday chart to Value1, then plots Value1:

Value1 = CloseD(1);
Plot1(Value1, "PrevClose");


Can you help answer these questions
from other members on NexusFi?
MC PL editor upgrade
MultiCharts
Trade idea based off three indicators.
Traders Hideout
Is there a way to simulate CONTINUOUS CONTRACT?
NinjaTrader
Negative Balance Protection
Brokers
What broker to use for trading palladium futures
Commodities
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Funded Trader platforms
29 thanks
Spoo-nalysis ES e-mini futures S&P 500
16 thanks
The Trading Pit "Futures VIP" Account Journal
15 thanks
GFIs1 1 DAX trade per day journal
15 thanks
Trading with Intuition
12 thanks
 
 Iluvchocmilk 
Portland
 
Experience: Beginner
Platform: TradingView
Broker: Tradestation
Trading: Emini ES
Posts: 49 since Jul 2020
Thanks Given: 32
Thanks Received: 37


I know this is really old but I was looking for info on this function and found that if it returns -1 you likely don't have enough data or referencing more than 50 periods back.


Visit my NexusFi Trade Journal

 



Last Updated on May 5, 2022


© 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