Simple adaptive strategy

Strategies are published here.

Moderator: admin

Simple adaptive strategy

Postby Alexander.Gettinger » Mon Nov 22, 2010 3:08 am

At first strategy open order with [FirstOrder] type.
After closing order strategy analyses last [OrdersNumber] orders and open next order in dependencies on types and result this orders.
For instance:
if OrdersNumber=3 and 3 last BUY orders were unprofitable, next order will SELL.

The Strategy was revised and updated on November 19, 2018.
Attachments
SimpleAdaptiveStrategy.lua
(15.66 KiB) Downloaded 1225 times
2018-11-19_13-30-13.png
2018-11-19_13-30-27.png
Alexander.Gettinger
FXCodeBase: Confirmed User
 
Posts: 3785
Joined: Wed Mar 31, 2010 9:40 pm
Location: Russia, Omsk

Re: Simple adaptive strategy

Postby Apprentice » Thu Jun 16, 2011 7:16 am

I removed a few bugs.
The algorithm may differ from the original.
SimpleAdaptiveStrategy.lua
(13.1 KiB) Downloaded 1173 times
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia



Return to Custom Strategies

Who is online

Users browsing this forum: Bing [Bot] and 20 guests