NexusFi: Find Your Edge


Home Menu

 





MoGo Genetic Optimizer for NT7


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one TraderDJB with 2 posts (8 thanks)
    2. looks_two Trader.Jon with 1 posts (1 thanks)
    3. looks_3 Quick Summary with 1 posts (0 thanks)
    4. looks_4 zokirb with 1 posts (0 thanks)
    1. trending_up 6,809 views
    2. thumb_up 10 thanks given
    3. group 4 followers
    1. forum 6 posts
    2. attach_file 1 attachments




 
Search this Thread

MoGo Genetic Optimizer for NT7

  #1 (permalink)
 
TraderDJB's Avatar
 TraderDJB 
Michigan
 
Experience: Intermediate
Platform: NinjaTrader, TradeStation, Thinkorswim
Broker: MB Trading
Trading: Forex
Posts: 46 since Jan 2010
Thanks Given: 7
Thanks Received: 28

Many folks like the MoGo optimizer better than PH Genetic. It certainly has more features. I personally use the PH Genetic but decided to port the MoGo to 7 as an exercise to deepen my knowledge of programming. Attached is the NT7 version. It is completely ported except for one problem: It's not correctly handling the results. The Output window shows that all generations were run, but the strategy comes back to the error that no optimization parameters were available because all results are blank.

The function that is responsible for this error is "public GeneScore Evaluate(Gene gene)". I'm busy with other things right now, but if someone were to take this where I left off, there is only this spot to fix, that I'm aware of.

Note: There isn't an "installer" with like the 6.5, just put the MoGo7.dll into the NT Custom folder like NinjaTrader.Custom.dll. It would be distributed in a NT .zip file and imported through the normal NT import dialogue.

Do or do not, there is no try. - Yoda
Attached Files
Elite Membership required to download: Project Source - MoGo v1.1 NT7 djb port.zip
Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Better Renko Gaps
The Elite Circle
How to apply profiles
Traders Hideout
PowerLanguage & EasyLanguage. How to get the platfor …
EasyLanguage Programming
Exit Strategy
NinjaTrader
MC PL editor upgrade
MultiCharts
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Spoo-nalysis ES e-mini futures S&P 500
29 thanks
Just another trading journal: PA, Wyckoff & Trends
24 thanks
Tao te Trade: way of the WLD
24 thanks
Bigger Wins or Fewer Losses?
21 thanks
GFIs1 1 DAX trade per day journal
16 thanks
  #3 (permalink)
 
Trader.Jon's Avatar
 Trader.Jon 
Near the BEuTiFULL Horse Shoe
 
Experience: Beginner
Platform: NinjaTrader
Broker: MBTrading Dukascopy ZenFire
Trading: $EURUSD when it is trending
Posts: 473 since Jul 2009
Thanks Given: 401
Thanks Received: 184



TraderDJB View Post
... It's not correctly handling the results. The Output window shows that all generations were run, but the strategy comes back to the error that no optimization parameters were available because all results are blank.

The function that is responsible for this error is "public GeneScore Evaluate(Gene gene)". I'm busy with other things right now, but if someone were to take this where I left off, there is only this spot to fix, that I'm aware of.....

I see this happening with the default NT7 GO as well ... is that your experience as well with the same data/parameters? It has happened each of the two times I attempted ... used different strategies on different data.

Jon

Reply With Quote
Thanked by:
  #4 (permalink)
 
TraderDJB's Avatar
 TraderDJB 
Michigan
 
Experience: Intermediate
Platform: NinjaTrader, TradeStation, Thinkorswim
Broker: MB Trading
Trading: Forex
Posts: 46 since Jan 2010
Thanks Given: 7
Thanks Received: 28

The PH GO and default GO work just fine on my setup. As I said, the mojo does run the generations but the results are not handled correctly because the handling in NT7 is somewhat different. It's a programmatic issue.

Do or do not, there is no try. - Yoda
Started this thread Reply With Quote
  #5 (permalink)
 
zokirb's Avatar
 zokirb 
Zagreb Hrvatska
 
Experience: Intermediate
Platform: Ninja Trader
Broker: IB/Ninja
Trading: Crude Oil
Posts: 26 since Mar 2011
Thanks Given: 1
Thanks Received: 10

TraderDJB, could you post step by step installation instruction for MoGo into NT 7. I downloaded your zip file with MoGo and copied mogo.dll to bin/custom folder. Then I tried to import other files with NTs Import Ninja Script but it seems it doesn't work.

Please help

P.S: In your opinion which is better, PH GO or Mogo?

Visit my NexusFi Trade Journal Reply With Quote
  #6 (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,442 since Jun 2009
Thanks Given: 33,215
Thanks Received: 101,603

As I recall, Ph GO doesn't work reliably in NT7 - it produces erroneous results.

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:
  #7 (permalink)
 
nanook77's Avatar
 nanook77 
OKC, OK
 
Experience: Advanced
Platform: Ninja Trader, Trade Navigator. ToS
Broker: PFG/CQG
Trading: forex, futures
Posts: 23 since Jun 2010
Thanks Given: 84
Thanks Received: 8

Has anyone here in the forum ever completed the MoGo update process TraderDJB is talking about here. Have used the old version with NT6.5 and liked the options better than the PH version. In particular the ability to set minimum number of trades for Profit Factor and Max % Probability runs.

Have tried modifying the PH version to do this - and - mostly just beating my head against the wall. Any solutions would be much appreciated. thanks in advance.

Even when you stand firm in the rushing waters of life - only your Spirit is Perfect!
Visit my NexusFi Trade Journal Reply With Quote




Last Updated on April 19, 2012


© 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