howto get a elements from vector pointer ? - futures io
futures io

howto get a elements from vector pointer ?

Discussion in Sierra Chart

    1. trending_up 686 views
    2. thumb_up 0 thanks given
    3. group 1 followers
    1. forum 1 posts
    2. attach_file 0 attachments

Welcome to futures io: the largest futures trading community on the planet, with well over 125,000 members
  • Genuine reviews from real traders, not fake reviews from stealth vendors
  • Quality education from leading professional traders
  • We are a friendly, helpful, and positive community
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts
  • We are here to help, just let us know what you need
You'll need to register in order to view the content of the threads and start contributing to our community.  It's free and simple.

-- Big Mike, Site Administrator

(If you already have an account, login at the top of the page)

Search this Thread

howto get a elements from vector pointer ?

(login for full post details)
  #1 (permalink)
Posts: 24 since Nov 2015
Thanks: 1 given, 0 received

Hi, i got a pointer to vector

std::vector<int>* index_spicek = (std::vector<int>*)sc.GetPersistentPointer(1);

and i want a insert some element at the end of vector .....

velikost_spicek->insert (velikost_spicek->end(), sc.AskVolume[dataindex])

compiling without problems but what i got is a cpu exception message
All vector operations come with a same problem ...

Please help ..........

Reply With Quote

Journal Challenge April 2021 results (now extended!):
Competing for $1800 in prizes from Jigsaw
looks_oneMaking a Living with the Microsby sstheo
(183 thanks from 22 posts)
looks_twoSalao's Journalby Salao
(51 thanks from 11 posts)
looks_3Deetee’s DAX Trading Journal (time based)by Deetee
(38 thanks from 18 posts)
looks_4Learning to Profit - A journey in algorithms and optionsby Syntax
(15 thanks from 13 posts)
looks_5Maybe a little bit different journalby Malykubo
(14 thanks from 15 posts)
Best Threads (Most Thanked)
in the last 7 days on futures io
Big Mike in Ecuador
76 thanks
The Crude Dude Oil Trading System
64 thanks
Would You Sell Your System?
51 thanks
Help improve the FIO community
36 thanks
futures io site changelog and issues/problem reporting
27 thanks

futures io Trading Community Platforms and Indicators Sierra Chart > howto get a elements from vector pointer ?

Last Updated on September 4, 2017

Upcoming Webinars and Events

NinjaTrader Indicator Challenge!


Journal Challenge w/$1,800 in prizes!


Copyright © 2021 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432,
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.
no new posts