Doubts about easylanguage coding - MultiCharts | futures io social day trading
futures io futures trading


Doubts about easylanguage coding
Updated: Views / Replies:510 / 4
Created: by Malqpor Attachments:0

Welcome to futures io.

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

futures io is the largest futures trading community on the planet, with over 90,000 members. At futures io, our goal has always been and always will be to create a friendly, positive, forward-thinking community where members can openly share and discuss everything the world of trading has to offer. The community is one of the friendliest you will find on any subject, with members going out of their way to help others. Some of the primary differences between futures io and other trading sites revolve around the standards of our community. Those standards include a code of conduct for our members, as well as extremely high standards that govern which partners we do business with, and which products or services we recommend to our members.

At futures io, our focus is on quality education. No hype, gimmicks, or secret sauce. The truth is: trading is hard. To succeed, you need to surround yourself with the right support system, educational content, and trading mentors Ė all of which you can find on futures io, utilizing our social trading environment.

With futures io, you can find honest trading reviews on brokers, trading rooms, indicator packages, trading strategies, and much more. Our trading review process is highly moderated to ensure that only genuine users are allowed, so you donít need to worry about fake reviews.

We are fundamentally different than most other trading sites:
  • We are here to help. Just let us know what you need.
  • We work extremely hard to keep things positive in our community.
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts.
  • We firmly believe in and encourage sharing. The holy grail is within you, we can help you find it.
  • We expect our members to participate and become a part of the community. Help yourself by helping others.

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

Reply
 
Thread Tools Search this Thread
 

Doubts about easylanguage coding

  #1 (permalink)
Trading Apprentice
Spain, Saragossa
 
Futures Experience: Advanced
Platform: MT4, NinjaTrader
Favorite Futures: Forex, CFD
 
Posts: 6 since Jun 2015
Thanks: 0 given, 0 received

Doubts about easylanguage coding

Hello,

I'm looking into easylanguage and I want to port my strategies to it from MT4/NT.

I don't know how to access the discussion forum of Multicharts, so I'll put my doubts here.

I'm tryng to calculate an array of daily pivots, how can I do it?

Also, I'm pretty lost with everything about this scripting language, do you know any place where I can get help? Do Multicharts offer some kind of support? The pdfs and integrated help provided by Multicharts are far away from the Ninjatrader ones.

Greetings

Reply With Quote
 
  #2 (permalink)
 Vendor: tradingcode.net 
The Netherlands
 
Futures Experience: None
Platform: MultiCharts, TradingView
Favorite Futures: ...
 
Jura's Avatar
 
Posts: 774 since Apr 2010
Thanks: 2,347 given, 661 received


Malqpor View Post
I'm tryng to calculate an array of daily pivots, how can I do it?

What code do you already have that you're trying with? That's probably easier to start from.


Malqpor View Post
Also, I'm pretty lost with everything about this scripting language, do you know any place where I can get help? Do Multicharts offer some kind of support? The pdfs and integrated help provided by Multicharts are far away from the Ninjatrader ones.

MultiCharts offers support on their forum, but there are also helpful people in the community (also here on futures.io (formerly BMT)) that are willing to help.

The integrated help (you mean the help file in the PowerLanguage .NET Editor?) is similar to the NinjaTrader reference manual (structured by group/keyword). There's also a wiki, and all PowerLanguage keywords can be found here.

Personally, I like to search with google with the `site:http://www.multicharts.com` query so that I can search the wiki and forum at the same time.

Reply With Quote
 
  #3 (permalink)
Trading Apprentice
Spain, Saragossa
 
Futures Experience: Advanced
Platform: MT4, NinjaTrader
Favorite Futures: Forex, CFD
 
Posts: 6 since Jun 2015
Thanks: 0 given, 0 received


Dude, great reply

 
Code
	
                        pivot= new double[periods];
			for(int i=1; i<periods-1;i++){
				if (Bars.GetDayBar(i) != null)
					pivot[i]=((Bars.GetDayBar(i).High+Bars.GetDayBar(i).Low+Bars.GetDayBar(i).Close)/3);
			}
Thats what I have regarding this in NT, periods comes from the user and I'm thinking about changing the "for" for a "foreach".

I'm using the easylenguaje, not the .net option, do you recomend me the .net version of multicharts?

Reply With Quote
 
  #4 (permalink)
 Vendor: tradingcode.net 
The Netherlands
 
Futures Experience: None
Platform: MultiCharts, TradingView
Favorite Futures: ...
 
Jura's Avatar
 
Posts: 774 since Apr 2010
Thanks: 2,347 given, 661 received

I'm not familiar enough with NinjaTrader to say that `GetDayBar()` has an equivalent in MultiCharts (.NET). It is possible of course to calculate the daily high in MultiCharts (.NET) either with a function or yourself by resetting a variable whenever a new day occurred (if that's NinjaTrader's definition of "day").

In PowerLanguage there are also `highD()`, `lowD()`, etc functions that return the high of the day, so you might want to look into these.

If you're already using the PowerLanguage version I'd certainly not recommend switching to MultiCharts .NET. The learning curve of this latter platform is significantly stronger/higher, and the PowerLanguage version can do 95% of what MultiCharts .NET can.

In the long run, I think you'll save yourself a lot of time/energy and struggles by sticking to the PowerLanguage version.

Reply With Quote
 
  #5 (permalink)
Trading Apprentice
Spain, Saragossa
 
Futures Experience: Advanced
Platform: MT4, NinjaTrader
Favorite Futures: Forex, CFD
 
Posts: 6 since Jun 2015
Thanks: 0 given, 0 received


Jura View Post
I'm not familiar enough with NinjaTrader to say that `GetDayBar()` has an equivalent in MultiCharts (.NET). It is possible of course to calculate the daily high in MultiCharts (.NET) either with a function or yourself by resetting a variable whenever a new day occurred (if that's NinjaTrader's definition of "day").

In PowerLanguage there are also `highD()`, `lowD()`, etc functions that return the high of the day, so you might want to look into these.

If you're already using the PowerLanguage version I'd certainly not recommend switching to MultiCharts .NET. The learning curve of this latter platform is significantly stronger/higher, and the PowerLanguage version can do 95% of what MultiCharts .NET can.

In the long run, I think you'll save yourself a lot of time/energy and struggles by sticking to the PowerLanguage version.

I know C# already, I don't need to learn it. I didn't know that .NET and normal version where the same except for the languaje, if I have to choose, I choose C# because I don't have to learn it and I have a C# version of the indicator. I'll try to understand the .NET version.

Thank you so much Jura!

Reply With Quote

Reply



futures io > > > > Doubts about easylanguage coding

Thread Tools Search this Thread
Search this Thread:

Advanced Search



Upcoming Webinars and Events (4:30PM ET unless noted)

Linda Bradford Raschke: Reading The Tape

Elite only

Adam Grimes: TBA

Elite only

NinjaTrader: TBA

January

Ran Aroussi: TBA

Elite only
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
Need Help EasyLanguage Coding kinkeadfx EasyLanguage Programming 5 July 6th, 2014 04:51 PM
Good resource for easylanguage coding in strategies (trailing stops/ b/e etc.) greenroomhoo MultiCharts 9 February 3rd, 2012 09:03 AM
re coding for entry/exits in easylanguage baz111 EasyLanguage Programming 1 December 28th, 2011 07:17 AM
RE Easylanguage statement for coding price baz111 EasyLanguage Programming 2 December 26th, 2011 11:07 AM
Lot of doubts.. canorivera Beginners and Introductions 19 December 14th, 2011 11:33 AM


All times are GMT -4. The time now is 07:33 AM.

Copyright © 2017 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432, info@futures.io
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
Page generated 2017-12-11 in 0.09 seconds with 19 queries on phoenix via your IP 54.226.132.197