NexusFi: Find Your Edge


Home Menu

 





JSON


Discussion in MultiCharts

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




 
Search this Thread
  #1 (permalink)
ShahramTor
Onsala Sweden
 
Posts: 28 since Nov 2016
Thanks Given: 22
Thanks Received: 1

Hello,

I wonder if there is some JSON-parser available to use in MultiCharts?
I get JSON data which have to be parsed into arrays or lists.

Many thanks in advance

Shahram


Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Warsh Rate Hike at 40%, Iran June 15 Expires Tonight at …
Prediction Markets & Event Contracts
Wood Mackenzie Drops $200 Oil Forecast -- Airspace Expir …
Prediction Markets & Event Contracts
Kalshi Sets $4.13B All-Time Weekly Record as Polymarket …
Prediction Markets & Event Contracts
Memorandum Watch: How the 60-Day MOU Framework Makes May …
Prediction Markets & Event Contracts
Iran Forward Curve: June 30 at 56% vs June 15 at 28% -- …
Prediction Markets & Event Contracts
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
NexusFi site changelog and issues/problem reporting
16 thanks
Darmok and Jalad at Tanagra
3 thanks
Big Mike in Ecuador
2 thanks
CME Expands 24/7 Trading to WTI Crude Oil and Gold -- We …
1 thanks
30 Sessions
1 thanks
  #2 (permalink)
 
rleplae's Avatar
 rleplae 
Gits (Hooglede) Belgium
Legendary Market Wizard
 
Experience: Master
Platform: NinjaTrader, Proprietary,
Broker: Ninjabrokerage/IQfeed + Synthetic datafeed
Trading: 6A, 6B, 6C, 6E, 6J, 6S, ES, NQ, YM, AEX, CL, NG, ZB, ZN, ZC, ZS, GC
Posts: 2,947 since Sep 2013
Thanks Given: 2,442
Thanks Received: 5,855


ShahramTor View Post
Hello,

I wonder if there is some JSON-parser available to use in MultiCharts?
I get JSON data which have to be parsed into arrays or lists.

Many thanks in advance

Shahram

Have you tried NewtonSoft ?
It is available as a .net package (dll)


Follow me on X Visit my NexusFi Trade Journal Reply With Quote
Thanked by:
  #3 (permalink)
ShahramTor
Onsala Sweden
 
Posts: 28 since Nov 2016
Thanks Given: 22
Thanks Received: 1



rleplae View Post
Have you tried NewtonSoft ?
It is available as a .net package (dll)

No, but I will do it immediately!

Thanks!


Reply With Quote
  #4 (permalink)
ShahramTor
Onsala Sweden
 
Posts: 28 since Nov 2016
Thanks Given: 22
Thanks Received: 1

Hello,

As you write before, it is a .net package and I run a regular MC.
Is there any other options?

Regards


Reply With Quote
  #5 (permalink)
 
rleplae's Avatar
 rleplae 
Gits (Hooglede) Belgium
Legendary Market Wizard
 
Experience: Master
Platform: NinjaTrader, Proprietary,
Broker: Ninjabrokerage/IQfeed + Synthetic datafeed
Trading: 6A, 6B, 6C, 6E, 6J, 6S, ES, NQ, YM, AEX, CL, NG, ZB, ZN, ZC, ZS, GC
Posts: 2,947 since Sep 2013
Thanks Given: 2,442
Thanks Received: 5,855

It is not that difficult, please read this article :

https://www.tradingcode.net/multicharts-net/net-editor/create-add-dll/

in c# you can easily use the JSON library :

jsonIN = System.IO.File.ReadAllText(@".\underlying.xml");
UnderlyingList = Newtonsoft.Json.JsonConvert.DeserializeObject<List<UnderlyingData>>(jsonIN);


Follow me on X Visit my NexusFi Trade Journal Reply With Quote
  #6 (permalink)
Sash
Munich Germany
 
Posts: 11 since Feb 2017
Thanks Given: 0
Thanks Received: 1

why don't you use DataContractJsonSerializer


Reply With Quote




Last Updated on June 11, 2017


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