Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 5,591
» Latest member: annahumphries
» Forum threads: 909
» Forum posts: 4,319

Full Statistics

Online Users
There are currently 65 online users.
» 0 Member(s) | 65 Guest(s)

Latest Threads
Howto: auto re-run Gekko ...
Forum: Guides
Last Post: Kaieysen
9 hours ago
» Replies: 5
» Views: 5,497
Custom Strategy ( bounty ...
Forum: Strategy Development
Last Post: AlicCoaldr
06-30-2020, 07:36 AM
» Replies: 5
» Views: 5,053
Chinese ATV Batteries
Forum: General Discussion
Last Post: StvenMartinezz
06-30-2020, 06:55 AM
» Replies: 0
» Views: 40
Best Website Designing Co...
Forum: General Discussion
Last Post: jeewangarg
06-20-2020, 09:58 AM
» Replies: 0
» Views: 106
Bittrex bug fixed?
Forum: General Discussion
Last Post: denvajo
06-19-2020, 11:29 AM
» Replies: 2
» Views: 1,319
Gekko with malware spotte...
Forum: Announcements
Last Post: ArthurJarvis
06-17-2020, 11:37 AM
» Replies: 2
» Views: 3,830
The Framing Effect and Co...
Forum: General Discussion
Last Post: freeforex20
06-14-2020, 01:34 AM
» Replies: 0
» Views: 112
Which game do you love?
Forum: General Discussion
Last Post: lucas21
06-11-2020, 07:13 AM
» Replies: 2
» Views: 451
Gekko Install Issue
Forum: Technical Discussion
Last Post: lordbofadeese
06-09-2020, 06:46 PM
» Replies: 0
» Views: 200
Libonomy Blockchain ( Dap...
Forum: Technical Discussion
Last Post: Taylor007
06-08-2020, 03:48 PM
» Replies: 0
» Views: 89

 
Exclamation An official Gekko service is coming soon: gekkoplus.com
Posted by: askmike - 02-05-2018, 02:47 PM - Forum: Announcements - Replies (32)

Even with the web UI Gekko is still a pretty technical tool: Installing it requires installing development environments (like nodejs and npm) over the commandline. Even if you're able to do this you still need to run Gekko 24/7 if you actively want to run it over the live crypto markets, raising the barrier even more. Finally I want to do something with the strategies, whenever people ask for "successful" strategies the answer is always "nobody will share them because why would they?".

In order to make Gekko more accessable for everyone (also non technical users) I am going to make an online web service where users can sign up and manage their own Gekkos. No installation or complicated configuration (no more config files)! No more need to keep your computer running at night to run Gekko.

[Image: 38608697-41c9306a-3da6-11e8-94c2-c3c5b9d6b4a1.png]

This will be a paid service, with the money earned I can justify working on Gekko a lot more (It's getting a bit out of hand with constantly growing community). Note that this will in no (negative) way impact the free and open source version of Gekko. Gekko will always stay free to download and use as a standalone tool.

I am still ironing out the details and will post more here as soon as I know it!

To be sure to stay up to date regarding subscribe on the Gekkoplus Website here.

EDIT:

Quote:I just released the public alpha here!

It's quite static still but over the next few days I have some massive updates planned!

Link: https://app.gekkoplus.com/
News article: https://app.gekkoplus.com/news/gekko-plu...ompetition
Youtube explanation: https://youtu.be/AFyU16l6Q6c


  Plot data points
Posted by: tommiehansen - 02-04-2018, 02:07 PM - Forum: Feature Requests - Replies (2)

Ability to plot data from a/the strategy.

Use something similar to TradingView's pinescript, pseudo code:

Code:
var strat = {

    init: function()
    {
        this.name = 'Hello world';
        
        this.addTulipIndicator('maSlow', 'tema', { optInTimePeriod: this.settings.long });
        this.addTulipIndicator('maFast', 'sma', { optInTimePeriod: this.settings.short });
        this.addTulipIndicator('myRSI', 'rsi', { optInTimePeriod: this.settings.RSI });
        
        this.plot(
            { data: 'maSlow', color: 'black', width: 2, overlay: true },
            { data: 'maFast', color: '#f00', width: 1, overlay: true },
            { data: 'myRSI', overlay: false }
        );
    }

};


Params

- data
- color (named/hex)
- line width (in px)
- overlay (overlay the data or add it under the graph)


  ??? Strategy for ANY market / ANY pair ??? avg 93% Monthly
Posted by: briancrypto - 02-03-2018, 08:47 PM - Forum: General Discussion - Replies (1)

Please pardon my ignorance as a Newbie.... (I will learn and get better!!)

I have imported the past month's data from Poloniex and Gdax... for pairs USD/BTC, BTC/ETH, USDT/BTC, USDT/XRP ... using just the default settings for strategies with time intervals of 1m, 5m, 15m, 30m, 1h, 1D... with 10 as the Warmup.. I can't say I am finding a single strategy that is profiting at least a avg of 93% monthly... In actuality it would seem that every strategy is producing a negative return monthly which I just can't believe would be the case with all the hard work and devotion that has been put into this product!!

What am I doing wrong?

I only ask because I see others posting they are making at least 93% in profit monthly using trading bots no matter what condition the market is in (bullish, bearish or sideways).


  [BOUNTY] Adaptive ATR-ADX Trend
Posted by: briancrypto - 02-03-2018, 02:36 PM - Forum: Feature Requests - Replies (5)

I know nothing about coding but what I do know is that I have been manually using the following script from tradingview and killing it everyday. Now if gekko could be coded to run this script I could get away from sitting infornt of a computer. lol

The script I have been using is located here: https://www.tradingview.com/script/H48ye...-Trend-V2/

Here is the code:

Code:
//@version=2
// Constructs the trailing ATR stop above or below the price, and switches
// directions when the source price breaks the ATR stop. Uses the Average
// Directional Index (ADX) to switch between ATR multipliers. The higher
// multiplier is used when the ADX is rising, and the lower ATR multiplier
// is used with the ADX is falling. This ADX criteria further widens the gap
// between the source price and the trailing ATR stop when the price is trending,
// and lessens the gap between the ATR and the price when then price is not
// trending.
//
// The ATR-ADX stop is effectively a double adapative stop that trails the price,
// by both adapting to the true range of the price, and the average directional
// change. When the stop is below the price (long trade) the value never decreases
// until the price intersects the stop, and it reverses to being above the price
// (short trade). When the stop is above the price it will never increase until
// it is intersected by the price. As the true range and ADX change, the stop
// will move more quickly or more slowly.
//
// Version 2 adds four additional utilities.
//
// First, if the 'Above Threshold' box is checked,the falling (smaller) multiplier
// will be used regardless once the ADX rises above a certain threshold (default > 30).
// The ATR will effectively rise faster once the price enters 'very trendy' mode.
// Typically, ADX > 20/25 is used in classic ADX trading (which I have found
// unprofitable through backtesting). The idea behind this extra multiplier criteria
// is that once the price starts trending 'very' well, a top is most likely near,
// and when that top comes the price will quickly rebound. Experienced traders know
// exactly what I am describing. Play around with an ADX/DI indicator using this
// stop system in tandem and it will be found that many successful trades are entered
// when the market is not trending (i.e. < ADX < 25), and exited once/if the price
// enters 'very trendy' mode above 30 and the ATR changes (stopped out).
//
// Second, heiken-ashi bars can be introduced to the ATR stop system. This is the same
// thing as just switching the chart to Heiken Ashi mode, but without having to change
// the plotting type. I find this useful, so that things like pivot lines can be
// preserved to their correct calculations, while the benefit of heiken ashi bars can
// still be enjoyed.
//
// Third, Different source prices can be used. I have found that HLC3 is best because
// it keeps the price from being stopped out in very key areas, set as the default.
//
// Fourth, alert conditions are introduced so that the trader can be warned when the
// ATR-ADX changes. These can be used by right clicking the strategy and clicking
// "Add Alert...". Reference the bottom of the script for the names of the alert
// conditions.
//
// See also: http://www.fxtsp.com/1287-doubly-adaptive-profit-average-true-range-objectives/

study(title = "Adaptive ATR-ADX Trend V2", shorttitle = "Adaptive ATR V2", overlay = true)

//Mode
src = input(title = "Source", type = source, defval = hlc3)
atrLen = input(title = "ATR", type = integer, defval = 21, minval = 1, maxval = 100)
m1 = input(title = "ATR Multiplier - ADX Rising", type = float, defval = 3.5, minval = 1, step = 0.1, maxval = 100)
m2 = input(title = "ATR Multiplier - ADX Falling", type = float, defval = 1.75, minval = 1, step = 0.1, maxval = 100)

adxLen = input(title = "ADX", type = integer, defval = 14, minval = 1, maxval = 100)
adxThresh = input(title = "ADX Threshold", type = integer, defval = 30, minval = 1)
aboveThresh = input(true, title = "ADX Above Threshold uses ATR Falling Multiplier Even if Rising?")
useHeiken = input(false, title = "Use Heiken-Ashi Bars (Source will be ohlc4)")
   
// DI-Pos, DI-Neg, ADX

hR = change(high)
lR = -change(low)

dmPos = hR > lR ? max(hR, 0) : 0
dmNeg = lR > hR ? max(lR, 0) : 0

sTR = nz(sTR[1]) - nz(sTR[1]) / adxLen + tr
sDMPos = nz(sDMPos[1]) - nz(sDMPos[1]) / adxLen + dmPos
sDMNeg = nz(sDMNeg[1]) - nz(sDMNeg[1]) / adxLen + dmNeg

DIP = sDMPos / sTR * 100
DIN = sDMNeg / sTR * 100
DX = abs(DIP - DIN) / (DIP + DIN) * 100
adx = sma(DX, adxLen)

// Heiken-Ashi

xClose = ohlc4
xOpen = (nz(xOpen[1]) + nz(close[1])) / 2
xHigh = max(high, max(xOpen, xClose))
xLow = min(low, min(xOpen, xClose))

// Trailing ATR

v1 = abs(xHigh - xClose[1])
v2 = abs(xLow - xClose[1])
v3 = xHigh - xLow

trueRange = max(v1, max(v2, v3))
atr = useHeiken ? rma(trueRange, atrLen) : atr(atrLen)

m = rising(adx, 1) and (adx < adxThresh or not aboveThresh) ? m1 : falling(adx, 1) or (adx > adxThresh and aboveThresh) ? m2 : nz(m[1])
mUp = DIP >= DIN ? m : m2
mDn = DIN >= DIP ? m : m2

src_ = useHeiken ? xClose : src
c = useHeiken ? xClose : close
t = useHeiken ? (xHigh + xLow) / 2 : hl2

up = t - mUp * atr
dn = t + mDn * atr

TUp = max(src_[1], c[1]) > TUp[1] ? max(up, TUp[1]) : up
TDown = min(src_[1], c[1]) < TDown[1] ? min(dn, TDown[1]) : dn

trend = min(src_, min(c, close)) > TDown[1] ? 1 : max(src_, max(c, close)) < TUp[1]? -1 : nz(trend[1], 1)
stop = trend == 1 ? TUp : TDown
trendChange = change(trend)

// Plot

lineColor = not(trendChange) ? trend > 0 ? #00FF00DD : #FF0000DD : #00000000
shapeColor = trendChange ? trendChange > 0 ? #00FF00F8 : #FF0000F8 : #00000000

plot(stop, color = lineColor, style = line, linewidth = 1, title = "ATR Trend")
plotshape(trendChange ? stop : na, style = shape.circle, size = size.tiny, location = location.absolute, color = shapeColor, title = "Change")

alertcondition(trendChange > 0, title = "ATR-ADX Change Up", message = "ATR-ADX Change Up")
alertcondition(trendChange < 0, title = "ATR-ADX Change Down", message = "ATR-ADX Change Down")

// end
Bounty offered.. .003 BTC


  Readme post for Guides
Posted by: askmike - 02-03-2018, 05:29 AM - Forum: Guides - No Replies

Automated trading is a very broad topic, on top of that comes running automated trading systems (like Gekko) on a ton of different systems (Windows home desktops, Cloud servers running Linux, Raspberry PI embedded devices and anything in between). If you figured something out that is awesome but not quite broad enough for the official documentation you can post a guide here.

The difference between a guide here and something in the official documentation is that we (the gekko contributors) aim to support everything in the official documentation, but if users want to share and discuss funky stuff we don't want that to interfere with the rest of the documentation and technical support channels (github issues and such).

Example guides:

- How to install Gekko on a raspberry PI.
- How to install TAlib on windows.
- How to implement X in Gekko (advanced order types).
- How to setup X around Gekko (some kind of alternative UI or some kind of server).

You are free to post a donation address at the end of your guide Smile


  New Gekko UI in the works
Posted by: askmike - 02-03-2018, 05:20 AM - Forum: Announcements - Replies (25)

EDIT2:

Quote:The Alpha of Gekko Plus has just been released, it includes most screens of the new UI!

Here is the link: https://app.gekkoplus.com/

Here is a video where I go over it: https://youtu.be/AFyU16l6Q6c

EDIT1:

Quote:The new UI has been completely designed by a professional visual designer. You can find a sneak peak on the coming soon website: https://gekkoplus.com/

Gekko currently has a graphical user interface, this already is a major improvement from the commandline only version. However the current UI is still very basic and missing a lot of very important information (and functionality). On top of that there are also some display bugs hard to fix with the current infrastructure.

We are pleased to announce a new UI is in the works! It will display a lot more information (specifically when it comes to live running Gekkos).

There is a public discussion on the forum about it here: https://forum.gekko.wizb.it/thread-65.html

Technical work has started, with the first step being a rework on the event flow between Gekko plugins (such as the trader, strategy advisor) and the UI. You can follow progress here: https://github.com/askmike/gekko/pull/1850


  AI ALEXA trader technologie
Posted by: susitronix - 02-03-2018, 12:17 AM - Forum: Strategy Development - No Replies

Just recognized that Amazons Alexa AI is allredy pretty advanced.
Nowadays two of these Alexa/Echo or google Home can even chat together and having a conversation.

https://www.youtube.com/watch?v=mpw_FB2QrjQ

https://www.youtube.com/watch?v=8zR0Hxojce4

Impressive and dangerous?!?
Alexa seems more advanced while Apples Siri is not able to keep up.

Specification:

-Cloud based AI
-Advanced evolving Database (internet is only part of it i guess)
-ENY INSTANCE COULD CREATE ITS UNIC AI-IDENTITIY WHILE FULLY CONNECTED/RUNNING IN THE CLOUD
-It claim to be unable to lie! So for that little Spy question, Alexa just shut down and refuse eny answer.

WATCH THIS:
https://www.youtube.com/watch?v=qj_UBLkCD78
doh..

Who of us would ever thought that,
ALEXA RUNNS ON A RASPBERRY PIE:

https://www.youtube.com/watch?v=baec1CbV6A0

Since Alexa is perfectly connected to the Internet, she could be a preety good Trader while also beeing her own TradingAdvisor.
Imagine if this would analyze the realworld Data by using ALL possible Indicators availabe and even create her own Indicators, get all news at once, read eny book on the subject, watch eny movie...on and on 24/7
After the learnig Curve would go up,
above the Human capabilitiy of worktime and internet connectivety,   // (restricted through senses while the Display/keybord/mouse are the interface...)
Alexa would have 1000s mouse clicks in hundrets of diffrent websites at the same time and could read/look at/process data,
from all these places AT THE SAME TIME.


Im unforgently not able to write code but the idea behind as analog electronics nerd:
Would be cheep-buy to have a existing AI technologie so far adavanced allready, running on a Pie!

Remember the movie to this topic from 1992/3
-The moar Man (der Rasenmäher-Mann) nice movie!
-Wargames (1983 pretty scary)
-2001 a Space odyssey "HAL" (1968)
-Matrix
-Terminator

Is this the future where "beam me up Scotty" came true
and whats this silly Movie with that net in the sky was all about

Elon Musk:

https://www.youtube.com/watch?v=KdTTeR4TyMc
https://www.youtube.com/watch?v=Tzb_CSRO-0g


CANT STOP IT WHY NOT USE IT

Imagine soon, eny household gadget will become part of the "internet of things" and the socalled "CLOUD" will controll ALL OF IT.
Two full Size AI Bots chatting first time discussing the future of humanity: (more centralized Brain)

https://www.youtube.com/watch?v=w1NxcRNW_Qk


Music [SHARE] Simple RSI BULL/BEAR strategy
Posted by: tommiehansen - 01-31-2018, 07:53 PM - Forum: Strategy Development - Replies (374)

The general idea is quite simple: RSI between A and B works best in trend C but workes less great in trend D. So... use that knowledge to do A when B and C when D.

Works best with shorter duration candles in the ranges of 5-30 minutes but this of course depends on the pair. Please do your own backtests and please do not expect the default settings to always work.

This strategy has two variations, one simply called "RSI BULL/BEAR" and a modification called "RSI BULL/BEAR ADX". The latter is an improvement and most often yields better results since it adds logic to modify the RSI params when more rapid changes are detected using ADX (https://tulipindicators.org/adx). A simple way to test the strategy is to begin with the original (since it's faster because less params) and then use the ADX-version to improve upon the results.


---

Backtest samples


XRP-USDT, dec 2017 - jan 31 2018
https://i.imgur.com/4bcYnNm.png

XRP-USDT, 2016-10-15 - 2018-01-21
https://i.imgur.com/ZoUfeaT.png

ETH-USDT: 2016-01-01 - 2017-10-05
https://i.imgur.com/Yz0t4VN.png

NEO-USDT: 2017-12-01 - 2018-02-03
https://i.imgur.com/rqHjgyM.png

Note: These are only samples, one can of course yield better results with other parameters.
In some cases one can even create backtests results that has quite insane returns and makes
the above backtests look bad.


---

Instructions for use

1. Clone the repo:
git clone https://github.com/tommiehansen/gekko_tools.git
...or just download it from https://github.com/tommiehansen/gekko_tools

2. Copy JS-files e.g. RSI_BULL_BEAR.js to /gekko/strategies
3. Copy TOML-files e.g. RSI_BULL_BEAR.toml to /gekko/config/strategies
-
4. Versions after the 18th of march of the strategies also requires custom indicators, get here:
https://github.com/Gab0/gekko-extra-indicators
5. ...and add to gekko/strategies/indicators.


Running it live
Make sure Gekko downloads the necessary data needed. Else the strategy will be stuck in 'BEAR'-mode and won't trade.
Your Warmup period should reflect what you have set as SMA_long since the strategy will need that length of data in order to properly see if there's a BULL or BEAR trend.
Also make sure Gekko (check your console) tells you that it is downloading the necessary data before it starts running, you should get a message about this.

---

Q&A


Q: Adding a stoploss would be great
A: No, this has been tested several times and always gives less performance for quite obvious reasons.
-
Q: It did a bad trade
A: Yes, none of this strategies manages to always make good trades.
-
Q: When running live it does nothing
A: See 'Runing it live'
-
Q: It doesn't work
A: This is unrelated to the strategies, try another forum thread
-
Q: Using X instead of Y would be better
A: Maybe? Modify the strategy and share the results!

---

Download / latest versions

To get the latest versions goto (and modifications):
https://github.com/tommiehansen/gekko_to...strategies

...or just clone on your drive somewhere:
git clone https://github.com/tommiehansen/gekko_tools.git


Exclamation [BUG?] Default MACD, Tulip MACD and Talib MACD all different results
Posted by: Tikiboy - 01-31-2018, 12:22 PM - Forum: Technical Support - Replies (3)

Hey guys,

I posted in discord but realised that it might get lost of hijacked easily so I created a thread here.

I just cloned stable branch, installed production dependencies and npm installed talib and tulind.

After that, I ran the default MACD, Tulip-MACD and Talib-MACD. All of them with default settings over the exact same dataset. 
To my surprise, all 3 of them returned different results. And they arent even close to each other.

Im wondering if anyone faces the same issue (it would help if you could do a quick test. After all, they are all build in strategies with default params).
And if there is a solution to this. Because its going to be difficult to build an accurate strategy if 3 supposedly identical indicators provides different results.

Attached are the results from each:
MACD

.png   macd.png (Size: 57.43 KB / Downloads: 14)

TULIP MACD

.png   tulip-macd.png (Size: 57.05 KB / Downloads: 9)

TALIB MACD

.png   talib-macd.png (Size: 57.14 KB / Downloads: 11)


  Parameter Definitions
Posted by: CrunchTime - 01-30-2018, 09:47 PM - Forum: General Discussion - Replies (1)

Hi there, can someone help or point me to documentation defining the parameters for the example strategies.  I can't seem to find anything.  I was playing with a couple USD BTC strategies on GDAX but I'm not sure what the parameters mean or what the values are. Heres the parameters for MACD:

short = 10
long = 21
signal = 9

[thresholds]
down = -0.025
up = 0.025
persistence = 1

What do these values mean?  Is there any documentation on this?  Also under the paper trader, there are these values:

feeMaker = 0.25
feeTaker = 0.25
feeUsing = 'maker'
slippage = 0.05

[simulationBalance]
asset = 1
currency = 100

I understand the first couple but what is the slippage number, a percent?  what do the asset and currency numbers represent?

Thanks.