Login Page - Create Account

Support Board


Date/Time: Sun, 19 May 2024 08:35:05 +0000



Post From: ACSIL code for Open/High/Low/Last

[2017-06-12 19:09:02]
User138418 - Posts: 16
I’m a newbie who has hit a dead end in documentation search. In ACSIL, I have been unable to find out to address Open, High and Low; “Last” stopped generating syntax errors when I finally wrote (dummy code):
If (sc.LastTradePrice > sc.Open)…
Is my usage for Last correct? How should I be addressing Open, High, and/or Low for this bar?
Next, I will also need OHLC for previous bars, but have not yet tried to look that up. Help?