Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Add()

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Add()

    Hi,
    Am I to assume that when I add in Initialize() the statement
    Add(Instrument.FullName, PeriodType.Minute, 30, MarketDataType.Ask);

    the Ask data are seamlessly downloaded along with the Last (i.e., Bid prices) and applied as intented in the scripts? (i.e., execute a buy signal at the ask, and a sell at the bid).
    Thanks,

    #2
    trend, this just add the ask series to your bars array available for access using the script, you would still need to point the orders execution to the correct bars in progress then with the extended Enter(), Exit() overloads offering this as parameter.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by kinfxhk, 07-13-2026, 10:18 AM
    0 responses
    28 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Started by kinfxhk, 07-13-2026, 09:50 AM
    0 responses
    18 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Started by kinfxhk, 07-13-2026, 07:21 AM
    0 responses
    28 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Started by kinfxhk, 07-11-2026, 02:11 AM
    0 responses
    24 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Started by SalmaTrader, 07-07-2026, 10:26 PM
    0 responses
    139 views
    0 likes
    Last Post SalmaTrader  
    Working...
    X