NexusFi: Find Your Edge


Home Menu

 





Easylanguage vs. C++


Discussion in EasyLanguage Programming

Updated
      Top Posters
    1. looks_one Big Mike with 2 posts (1 thanks)
    2. looks_two janson with 2 posts (2 thanks)
    3. looks_3 Cogito ergo sum with 2 posts (1 thanks)
    4. looks_4 aslan with 1 posts (1 thanks)
      Best Posters
    1. looks_one diverdan with 2 thanks per post
    2. looks_two janson with 1 thanks per post
    3. looks_3 aslan with 1 thanks per post
    4. looks_4 Big Mike with 0.5 thanks per post
    1. trending_up 10,934 views
    2. thumb_up 8 thanks given
    3. group 6 followers
    1. forum 10 posts
    2. attach_file 0 attachments




 
Search this Thread

Easylanguage vs. C++

  #1 (permalink)
 
Cogito ergo sum's Avatar
 Cogito ergo sum 
Amsterdam
 
Experience: None
Platform: QuickStrike, CTS
Trading: Derivatives
Posts: 195 since Jul 2010
Thanks Given: 227
Thanks Received: 214

I'm new to developing + backtesting of trading systems and I'm not an expert in programming.
I was wondering if anyone recommends learning C++ or Easy language.

At the moment I'm considering C++ as it is being use for NT, which I can use for free to create and backtest strategies.
Any comments are welcome.

Regards,

Dennis

Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Trade idea based off three indicators.
Traders Hideout
How to apply profiles
Traders Hideout
ZombieSqueeze
Platforms and Indicators
Quant vue
Trading Reviews and Vendors
MC PL editor upgrade
MultiCharts
 
  #2 (permalink)
janson
Munich
 
Posts: 10 since Jun 2010
Thanks Given: 5
Thanks Received: 3

I am also no expert but NT uses C#, not C++.

EasyLanguage is easier to learn, though C# is more powerful. It depends what you like to do. I think in most cases EasyLanguage is still enough.

Reply With Quote
Thanked by:
  #3 (permalink)
 diverdan 
Singapore
 
Experience: Beginner
Platform: Multicharts, R
Trading: EUR / USD
Posts: 185 since Feb 2010
Thanks Given: 106
Thanks Received: 99


I used to be a programmer in C++ (about 15 years ago).

Over the past two months I have relearnt my C++ skills to develop strategies in NT which uses C## (pretty similiar to C++). However I got really frustrated with NT with "errors" in backtesting - introduced primarily through the way it handled OHLC information.

Consequently I downloaded MC and taught myself EasyLanguage. This is pretty simple and quite powerful. Check out Mike's video on NT vs MC where demonstrates what is required to create a simple backtesting strategy in both NT and MC. It will probably make your mind up for you...

My two cents is that it is not about the programming language but the backtesting tool.

Visit my NexusFi Trade Journal Reply With Quote
Thanked by:
  #4 (permalink)
 
aslan's Avatar
 aslan 
Madison, WI
 
Experience: Advanced
Platform: ALT
Trading: ES
Posts: 625 since Jan 2010
Thanks Given: 356
Thanks Received: 1,127

If you are new to both, easy language is, by far, easier to get started with. If you are interested in super cool indicators, then C# will be better long term, but for doing simple back tests of simple ideas, EL will get the job done.

Reply With Quote
Thanked by:
  #5 (permalink)
 
Big Mike's Avatar
 Big Mike 
Manta, Ecuador
Site Administrator
Developer
Swing Trader
 
Experience: Advanced
Platform: Custom solution
Broker: IBKR
Trading: Stocks & Futures
Frequency: Every few days
Duration: Weeks
Posts: 50,463 since Jun 2009
Thanks Given: 33,237
Thanks Received: 101,661

Remember cool and complex does not mean profitable

If you want my opinion - I prefer EasyLanguage, and I am a programmer at heart and know many languages and programmed in C# NinjaScript for a long time. EasyLanguage is better for me personally, for what I want to accomplish, which is to make money.

Mike

We're here to help: just ask the community or contact our Help Desk

Quick Links: Change your Username or Register as a Vendor
Searching for trading reviews? Review this list
Lifetime Elite Membership: Sign-up for only $149 USD
Exclusive money saving offers from our Site Sponsors: Browse Offers
Report problems with the site: Using the NexusFi changelog thread
Follow me on Twitter Visit my NexusFi Trade Journal Reply With Quote
  #6 (permalink)
janson
Munich
 
Posts: 10 since Jun 2010
Thanks Given: 5
Thanks Received: 3


diverdan View Post
Check out Mike's video on NT vs MC where demonstrates what is required to create a simple backtesting strategy in both NT and MC.

Could you please provide a link to this video?

Thanks!

Reply With Quote
  #7 (permalink)
 
Cogito ergo sum's Avatar
 Cogito ergo sum 
Amsterdam
 
Experience: None
Platform: QuickStrike, CTS
Trading: Derivatives
Posts: 195 since Jul 2010
Thanks Given: 227
Thanks Received: 214

As a result of your replies, platform discussions, and Mike's video: MC vs NT strategy [AUTOLINK]backtesting[/AUTOLINK] and optimization. I'm reassessing my trading platform, taking into account that Easylanguage is easier to learn.

Started this thread Reply With Quote
Thanked by:
  #8 (permalink)
 
Big Mike's Avatar
 Big Mike 
Manta, Ecuador
Site Administrator
Developer
Swing Trader
 
Experience: Advanced
Platform: Custom solution
Broker: IBKR
Trading: Stocks & Futures
Frequency: Every few days
Duration: Weeks
Posts: 50,463 since Jun 2009
Thanks Given: 33,237
Thanks Received: 101,661


janson View Post
Could you please provide a link to this video?

Thanks!

Here it is:


Mike

We're here to help: just ask the community or contact our Help Desk

Quick Links: Change your Username or Register as a Vendor
Searching for trading reviews? Review this list
Lifetime Elite Membership: Sign-up for only $149 USD
Exclusive money saving offers from our Site Sponsors: Browse Offers
Report problems with the site: Using the NexusFi changelog thread
Follow me on Twitter Visit my NexusFi Trade Journal Reply With Quote
Thanked by:
  #9 (permalink)
 
traderfranco's Avatar
 traderfranco 
BRAZIL
 
Experience: Intermediate
Platform: NINJA TRADER
Broker: NINJA TRADER
Trading: RTY, ES, CL
Posts: 41 since May 2010
Thanks Given: 5
Thanks Received: 7


janson View Post
I am also no expert but NT uses C#, not C++.

EasyLanguage is easier to learn, though C# is more powerful. It depends what you like to do. I think in most cases EasyLanguage is still enough.


Hi,

I need to code the following strategy:

CONDITION 1 (UP):
when the previus bar (instrument ES, for instance) closes in high (GREEN) or doji and the next bar opens with a gap (at least 1 tick above the last close bar), the strategy place a Bracket Order:
- buy limit order (first tick of the next bar) +
- profit target (7 ticks) +
- stop loss (7 ticks), trailing stop (1 tick)

CONDITION 2 (DOWN):
when the previus bar (instrument ES, for instance) closes in down (RED) or doji and the next bar opens with a gap (at least 1 tick below the last close bar), the strategy place a Bracket Order:
- a sell limit order (first tick of the next bar) +
- profit target (7 ticks) +
- stop loss (7 ticks), trailing stop (1tick)

Do you know if it is it possible to code this strategy using EasyLanguage?
If so, could you write this code, please?
I don't know nothing about how to programming.

Tks,

traderfranco

Reply With Quote
  #10 (permalink)
Darshiit
India
 
Posts: 29 since Oct 2009
Thanks Given: 32
Thanks Received: 22


Instead of writting whole code , I would give u some simple possible ways to code what u r asking.

To code GREEN Candle : condition1= Open[0] < Close[0] ;
To code DOJI ( a perfect one ) : condition2 = (Open[0]=Close[0]);

To code gap u can use something like :

Inputs : profitticks(7), Stopticks(7),TrStopticks(1);

Vars : boolean isGap(false);
Vars:TickSize(PriceScale/MinMove);



if Open[0]>= (Close[1] + TickSize*PointValue ) then isGap=true;

// here ur limit entry order is little tricky. Long Limit orders can be specified if market is trading above ur limit price . Here i would use another way. It may have some slippage.

If (condition1 or Condition2 ) and isGap=true then
begin
Buy 1 contract next bar at open; { Using market order instead of limit orders }
end;

If market0osition>0 then begin
SetProfitTarget(profitticks*TickSize*PointValue);
SetStoploss(Stopticks*TickSize*PointValue);
SetTrailingStoploss(TrStopticks*TickSize*PointValue);
end;


Same with Short side.

Hope this will give u some idea.

Please bear if there is any error with code. As i didnt test it.

Darshiit

Reply With Quote




Last Updated on August 2, 2010


© 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