NexusFi: Find Your Edge


Home Menu

 





Indicators for Multicharts.NET SE


Discussion in MultiCharts

Updated
      Top Posters
    1. looks_one jojojo with 9 posts (0 thanks)
    2. looks_two Jura with 6 posts (5 thanks)
    3. looks_3 ABCTG with 3 posts (3 thanks)
    4. looks_4 panz with 3 posts (0 thanks)
      Best Posters
    1. looks_one Jigsaw Trading with 3 thanks per post
    2. looks_two mattz with 2 thanks per post
    3. looks_3 ABCTG with 1 thanks per post
    4. looks_4 Jura with 0.8 thanks per post
    1. trending_up 10,790 views
    2. thumb_up 17 thanks given
    3. group 7 followers
    1. forum 25 posts
    2. attach_file 4 attachments




 
Search this Thread

Indicators for Multicharts.NET SE

  #1 (permalink)
 RCinLB 
Los Angeles
 
Experience: Intermediate
Platform: TS,MarketDelta
Trading: Futures
Posts: 5 since May 2011
Thanks Given: 12
Thanks Received: 4

Anyone in the forums writing code for the .NET version yet? Would love to import some of the Multicharts Elite indicators but seems they won't work in the new .NET version.

Thanks in advance.

Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
PowerLanguage & EasyLanguage. How to get the platfor …
EasyLanguage Programming
How to apply profiles
Traders Hideout
Pivot Indicator like the old SwingTemp by Big Mike
NinjaTrader
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
REcommedations for programming help
Sierra Chart
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Spoo-nalysis ES e-mini futures S&P 500
29 thanks
Tao te Trade: way of the WLD
24 thanks
Just another trading journal: PA, Wyckoff & Trends
24 thanks
Bigger Wins or Fewer Losses?
21 thanks
GFIs1 1 DAX trade per day journal
16 thanks
  #2 (permalink)
 
mattz's Avatar
 mattz   is a Vendor
 
Posts: 2,493 since Sep 2010
Thanks Given: 2,441
Thanks Received: 3,791


RCinLB View Post
Anyone in the forums writing code for the .NET version yet? Would love to import some of the Multicharts Elite indicators but seems they won't work in the new .NET version.

Thanks in advance.

Found this site, and this may help:
TradingCode.net | Programming for Traders

Thanks,
Matt
Optimus Futures

There is a risk of loss in futures trading. Past performance is not indicative of future results.

Trading futures and options involves substantial risk of loss and is not suitable for all investors. Past performance is not necessarily indicative of future results. You may lose more than your initial investment. All posts are opinions and do not claim to be facts. Please conduct your own due diligence. Use only Risk capital when trading Futures.
1 800 771 6748 local 561 367 8686 email [email protected]
Follow me on Twitter Visit my NexusFi Trade Journal Reply With Quote
Thanked by:
  #3 (permalink)
 ABCTG   is a Vendor
 
Posts: 2,433 since Apr 2013
Thanks Given: 481
Thanks Received: 1,627


RCinLB,

Multicharts and Multicharts.NET use completely different programming languages for their indicators and you can't use code from one platform in the other platform. A rewrite is always needed.
The documentation is a bit slim though, but you can check the tradingcode.net website from futures.io user @Jura (the link mattz posted) or post on the forum here as there are some people coding in MC.NET around.

Regards,
ABCTG


RCinLB View Post
Anyone in the forums writing code for the .NET version yet? Would love to import some of the Multicharts Elite indicators but seems they won't work in the new .NET version.

Thanks in advance.


Follow me on Twitter Reply With Quote
Thanked by:
  #4 (permalink)
 Aufidius 
Seattle,WA
 
Experience: Advanced
Platform: NinjaTrader , Multicharts and my own system
Trading: Futures
Posts: 294 since Feb 2015
Thanks Given: 19
Thanks Received: 459

i'm slowly moving over to MC.net. Based on what i've seen most users have the EasyLanguage version and there are not many .NET people.

I'd check the MC support forums, there were only a few indicators I was missing and I found them all there.

Reply With Quote
Thanked by:
  #5 (permalink)
 
mattz's Avatar
 mattz   is a Vendor
 
Posts: 2,493 since Sep 2010
Thanks Given: 2,441
Thanks Received: 3,791


ABCTG View Post
RCinLB,

Multicharts and Multicharts.NET use completely different programming languages for their indicators and you can't use code from one platform in the other platform. A rewrite is always needed.
The documentation is a bit slim though, but you can check the tradingcode.net website from futures.io user @Jura (the link mattz posted) or post on the forum here as there are some people coding in MC.NET around.

Regards,
ABCTG

I should have mentioned your site as well, as you have been tremendous help for MC users on this site.
EasyLanguage Programmer | [AUTOLINK]Multicharts[/AUTOLINK] | Tradestation



Matt
Optimus Futures

There is a risk of loss in futures trading. Past performance is not indicative of future results.

Trading futures and options involves substantial risk of loss and is not suitable for all investors. Past performance is not necessarily indicative of future results. You may lose more than your initial investment. All posts are opinions and do not claim to be facts. Please conduct your own due diligence. Use only Risk capital when trading Futures.
1 800 771 6748 local 561 367 8686 email [email protected]
Follow me on Twitter Visit my NexusFi Trade Journal Reply With Quote
Thanked by:
  #6 (permalink)
 
Jigsaw Trading's Avatar
 Jigsaw Trading  Jigsaw Trading is an official Site Sponsor
 
Posts: 2,988 since Nov 2010
Thanks Given: 831
Thanks Received: 10,393

I have & it's been fairly complex stuff too.

On the plus side, they have a built in releasing feature that can use .NET reactor (if you have a license for it). So you can protect your code really well. Much better than CliSecure. In fact for my Ninja stuff I don't use CliSecure as it's easily cracked.

I like the way you can control calcbar and recalcbar. It's multithreaded, so you can kick stuff off in other threads.

It's just like all of these platforms - they have philosophical differences in how things are done - but the documentation is fairly easy to navigate and most importantly - as long as you aren't asking dumb-ass questions - you can get onto their online support, do a screen share and get the advice from the team. So you can literally log on to support and have thenm come and take a look.

The forums are pretty good too.

I think the challenge is getting your head wrapped around their philosophy. I went from Tradestation to Ninja, then did OEC Trader (which is a little tougher because of not much documentation) to MC.NET. So I'm not sure if the switch to MC.NET was easier because at that point I'd become savvy in moving to new platforms or because it's relatively friendly.

I think they have a good team and a solid approach to support. It'll be interesting to see how they grow the .NET version - I still have people asking me if I can do my stuff on the 'regular/easylanguage" version but after C#, it's a pain to go back to what is effectively FORTRAN.

If you have any questions about the products or services provided, please send me a Private Message or use the futures.io " Ask Me Anything" thread
Visit my NexusFi Trade Journal Reply With Quote
  #7 (permalink)
 panz 
Naperville IL
 
Experience: Intermediate
Platform: MC.NET,Zorro,SC,TT,TWS
Broker: IB, OANDA, IQFeed
Trading: Futures, FOREX, Options, Stocks & ETFs
Posts: 10 since Apr 2015
Thanks Given: 2
Thanks Received: 5

I agree with DionysusToast. The .NET version is much more flexible and powerful than the standard version, and once you become productive in it you wouldn't want to look back.

I have done projects in C, Pascal, Visual Basic, C#, Matlab and Python and I know C++ and Java, so trust me in saying that by going .NET a door to a whole world of possibilities have been opened. Since you can add reference to external .NET assembly from an indicator or signal script, in addition to all the included MultiCharts functions and the standard .NET libraries (e.g. date and time handling, networking, Windows forms for GUI controls), you can have tons of powerful 3rd party libraries at your finger tips and many of them are free, such as .NET connector to use MySQL database, Math.Net for all kinds of mathematical need including statistics and signal processing, Zedgraph for fast and elegant 2D charts (MultiCharts internal charting only allows x axis to be time, so when you need a scatter plot or histogram you need another charting library; MSChart works but is quite awkward), QLNet for all the basic quant stuff, and Accord.NET for machine learning.

.NET (C# or Visual Basic) is a good compormise between execution speed (C/C++ is better) and expressiveness (Python is better). Java and Java VM based languages may be equally good or better in terms of language itself and libraries, but since MultiChart is Windows-focused, .NET makes a lot more sense.

I am eager to realize some of my ideas with the help of the all-mighty .NET, and have started forging ahead.

Reply With Quote
  #8 (permalink)
 jojojo 
FrankfurtGermany
 
Experience: Beginner
Platform: Tradestation
Posts: 41 since Oct 2010
Thanks Given: 4
Thanks Received: 7

Seemes that a lot of you are very impressed about the .net possibilities , but there is no help for beginners -
C# is apparently not easy to understand . So what about one concrete example to start with? Maybe an existing indi
from easy language ported to MCNet step by step?
So as a suggestion: If you want to add a new indicator the Powereditor always starts with a template.If you look a little bid closer , there are always 2 or three methods used - the Create method , the StartCalc and the CalcBar method.As I understand this the StartCalc method is for the initializing and inside CalcBar are any caculations for cresting the indi. First question would be , why you use Create sometimes and sometimes not ? How to develop further?
Maybe a start for newbies

Jojo

Reply With Quote
  #9 (permalink)
 
Jura's Avatar
 Jura   is a Vendor
 
Posts: 775 since Apr 2010
Thanks Given: 2,352
Thanks Received: 690


jojojo View Post
Seemes that a lot of you are very impressed about the .net possibilities , but there is no help for beginners - C# is apparently not easy to understand . So what about one concrete example to start with?

Do you mean there's no help at all, or there's no help that's accessible enough?


jojojo View Post
If you want to add a new indicator the Powereditor always starts with a template.If you look a little bid closer , there are always 2 or three methods used - the Create method , the StartCalc and the CalcBar method.As I understand this the StartCalc method is for the initializing and inside CalcBar are any caculations for cresting the indi. First question would be , why you use Create sometimes and sometimes not ?

The `Create()` method is used for creating objects (like functions, orders, and plots). So if your indicator doesn't rely on a function (like `XAverage` to calculate a default EMA), then you won't need to use the `Create()` method. That's why that method is not present in every script. However, since practically every indicator uses a function and/or plot, it's pretty rare to have no `Create()` method in a script.

Reply With Quote
Thanked by:
  #10 (permalink)
 panz 
Naperville IL
 
Experience: Intermediate
Platform: MC.NET,Zorro,SC,TT,TWS
Broker: IB, OANDA, IQFeed
Trading: Futures, FOREX, Options, Stocks & ETFs
Posts: 10 since Apr 2015
Thanks Given: 2
Thanks Received: 5



jojojo View Post
Seemes that a lot of you are very impressed about the .net possibilities , but there is no help for beginners -
C# is apparently not easy to understand . So what about one concrete example to start with? Maybe an existing indi
from easy language ported to MCNet step by step?

I don't own a Easy Language version of MultiCharts and I don't know Easy Language well enough except the very basic concepts... Actually I only purchased MultiCharts .NET because the .NET version is out, otherwise I would have gone to NinjaTrader whose scripts are also C# .NET based.

If you can paste the indicator code here with some explanations yes I can definitely try converting it to MultiCharts .NET. Otherwise, you can also read the indicators that come with the MultiCharts .NET installation - there are tons of them and all source codes are available (you may need to dig down a layer or two to understand how the underlying functions work).


jojojo View Post

So as a suggestion: If you want to add a new indicator the Powereditor always starts with a template.If you look a little bid closer , there are always 2 or three methods used - the Create method , the StartCalc and the CalcBar method.As I understand this the StartCalc method is for the initializing and inside CalcBar are any caculations for cresting the indi. First question would be , why you use Create sometimes and sometimes not ? How to develop further?
Maybe a start for newbies

Yes as in Jura's answer, Create() is used when you need to create objects of classes internal to MultiCharts like plots, orders, functions etc. If you define those in StartCalc() you will get an error message. However, if you have an object of a standard type like List<double> or DateTime etc, you can define them anywhere. I guess this is because the execution model: Create() is run only once for each indicator while StartCalc() COULD be run for more than one time e.g. when you change indicator parameters, or when MultiCharts try different lookback period if you don't specify max number of bars to look back.
I prefer to put my initializations in StartCalc() to ensure it's run everytime indicator is recalculated, and plus you have access to Bars.Info like the symbol and big point value of the instrument, while Bars is not accessible in Create().

Reply With Quote




Last Updated on November 21, 2015


© 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