NexusFi: Find Your Edge


Home Menu

 





How i use genetic optimizer in 10 steps


Discussion in NinjaTrader

Updated
    1. trending_up 5,361 views
    2. thumb_up 2 thanks given
    3. group 4 followers
    1. forum 6 posts
    2. attach_file 0 attachments




 
Search this Thread

How i use genetic optimizer in 10 steps

  #1 (permalink)
 
wh's Avatar
 wh 
Neubrandenburg, Germany
 
Experience: Advanced
Platform: R
Trading: Stocks
Posts: 538 since Jun 2009
Thanks Given: 298
Thanks Received: 512

1. open new strategy analyser
2. select currencies/future
3. right click for optimize
4. set parameter
5. set dataseries
6. set timeframe
6.1 on range bar 10000 bars back i calculate on chart,
why i do this --> this is for intraday
7. set optimize
7.1 best results 10
7.2 max. profit factor
7.3 Optimizer set to Genetic Optimizer
8. Open Console
9. set Genetic Optimizer parameters
9.1 Maximum Generations 10
9.2 Populationsize 1024
9.3 save all results set true (stored in a xml file i think)
10. run optimizer and look on result on console and strategy analyzer
(@end optimizer code shows on console result never before)

I hope it helps, next optimize session i make some screens.

Best regards arne

Started this thread Reply With Quote
Thanked by:

Can you help answer these questions
from other members on NexusFi?
Cheap historycal L1 data for stocks
Stocks and ETFs
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
What broker to use for trading palladium futures
Commodities
REcommedations for programming help
Sierra Chart
Pivot Indicator like the old SwingTemp by Big Mike
NinjaTrader
 
  #2 (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,464 since Jun 2009
Thanks Given: 33,242
Thanks Received: 101,662

Thanks Arne!

Can you share the GO code itself please? Here if it is not in development, or if it is working version post in file sharing section and you can always link to it from here.

Mike

Follow me on Twitter Visit my NexusFi Trade Journal Reply With Quote
  #3 (permalink)
 
wh's Avatar
 wh 
Neubrandenburg, Germany
 
Experience: Advanced
Platform: R
Trading: Stocks
Posts: 538 since Jun 2009
Thanks Given: 298
Thanks Received: 512



Big Mike View Post
Thanks Arne!

Can you share the GO code itself please? Here if it is not in development, or if it is working version post in file sharing section and you can always link to it from here.

Mike

it is working version 1.5 from ninja forum.

arne

Started this thread Reply With Quote
  #4 (permalink)
 
record100's Avatar
 record100 
Toronto, CA
 
Experience: Intermediate
Platform: NT
Broker: IB
Trading: YM, ES
Posts: 105 since Jun 2009
Thanks Given: 34
Thanks Received: 44

what is percentage of correct prediction when using optimizer? Is there any statistics?
Sergei

Reply With Quote
  #5 (permalink)
 
wh's Avatar
 wh 
Neubrandenburg, Germany
 
Experience: Advanced
Platform: R
Trading: Stocks
Posts: 538 since Jun 2009
Thanks Given: 298
Thanks Received: 512


record100 View Post
what is percentage of correct prediction when using optimizer? Is there any statistics?
Sergei

i do not know what you mean.
i think it is not a prediction, the optimizer fit the results to the best ...

perhaps :

$EURJPY: completed generation 10/10, iterations per second: 15,3, max SQN this gen: 0,00
$EURJPY: completed: 15.06.2009 18:37:35, total iterations: 10240, total time (minutes): 11,2, best result:
Period: 11
SL: 10
TP: 50
AngleS: 26
Slopema: 90

this is was the console sayed ... i will look at source code to find a answer

Started this thread Reply With Quote
  #6 (permalink)
 
record100's Avatar
 record100 
Toronto, CA
 
Experience: Intermediate
Platform: NT
Broker: IB
Trading: YM, ES
Posts: 105 since Jun 2009
Thanks Given: 34
Thanks Received: 44

sorry for misunderstanding, I was under the impression that this algorithm is used to predict price bars ? But it looks like adaptive MA, is it correct?

Reply With Quote
  #7 (permalink)
 
wh's Avatar
 wh 
Neubrandenburg, Germany
 
Experience: Advanced
Platform: R
Trading: Stocks
Posts: 538 since Jun 2009
Thanks Given: 298
Thanks Received: 512


record100 View Post
sorry for misunderstanding, I was under the impression that this algorithm is used to predict price bars ? But it looks like adaptive MA, is it correct?

I think adaptive is the false indication. Curve Fitting sounds better.

Neural Networks or ARIMA are non linear regression. They are usefull for market prediction.
But PriceAction is the best predictor.

Best regards
Arne

Started this thread Reply With Quote




Last Updated on June 15, 2009


© 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