NexusFi: Find Your Edge


Home Menu

 





Web Service


Discussion in MultiCharts

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




 
Search this Thread

Web Service

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

Hi,

Is there any way to make connection from MC to external Web Server using Web services?


Best regards
Shahram

Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Trade idea based off three indicators.
Traders Hideout
Better Renko Gaps
The Elite Circle
REcommedations for programming help
Sierra Chart
What broker to use for trading palladium futures
Commodities
MC PL editor upgrade
MultiCharts
 
  #2 (permalink)
 ABCTG   is a Vendor
 
Posts: 2,436 since Apr 2013
Thanks Given: 482
Thanks Received: 1,629

Shahram,

nothing build in, but I am sure you can develop it using external DLLs.

Regards,

ABCTG

Follow me on Twitter Reply With Quote
  #3 (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: 3,003 since Sep 2013
Thanks Given: 2,442
Thanks Received: 5,863



ShahramTor View Post
Hi,

Is there any way to make connection from MC to external Web Server using Web services?


Best regards
Shahram

 
Code
try
			{
				string url = "http://"+IPPORT+"/yourfunction/"+Symbol;
				System.Net.WebClient client = new WebClientWithTimeout ();
				client.Headers.Add("content-type","application/json");
				
				
				var response = client.DownloadString (url);
			
			}
			catch
			{
                                 // failed
			}

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


rleplae View Post
 
Code
try
			{
				string url = "http://"+IPPORT+"/yourfunction/"+Symbol;
				System.Net.WebClient client = new WebClientWithTimeout ();
				client.Headers.Add("content-type","application/json");
				
				
				var response = client.DownloadString (url);
			
			}
			catch
			{
                                 // failed
			}


Thanks but I search for something for the regular MC not .NET!
Best regards

Reply With Quote




Last Updated on May 4, 2017


© 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