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

Username
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 39,322
» Latest member: DishisdesignJewellery
» Forum threads: 926
» Forum posts: 6,383

Full Statistics

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

Latest Threads
An official Gekko service...
Forum: Announcements
Last Post: tanvirai
11-20-2025, 12:18 PM
» Replies: 113
» Views: 291,762
Gekko development status ...
Forum: Announcements
Last Post: erectilenovus
11-17-2025, 11:36 AM
» Replies: 753
» Views: 1,769,336
Gekko 0.6 released
Forum: Announcements
Last Post: soniyathakur
11-02-2025, 12:21 PM
» Replies: 129
» Views: 380,456
Gekko with malware spotte...
Forum: Announcements
Last Post: cofffee124
10-30-2025, 09:56 AM
» Replies: 216
» Views: 346,433
New Gekko UI in the works
Forum: Announcements
Last Post: cofffee124
09-04-2025, 08:12 AM
» Replies: 186
» Views: 390,768
How to add Binance Future...
Forum: Technical Support
Last Post: Xavier32
10-07-2021, 02:20 PM
» Replies: 47
» Views: 159,136
Bittrex Configuration hel...
Forum: Bittrex
Last Post: yirzolusto
10-07-2021, 07:39 AM
» Replies: 6
» Views: 31,838
[Question] Why does gekko...
Forum: General Discussion
Last Post: cryptocurrency0
10-06-2021, 01:16 PM
» Replies: 16
» Views: 70,995
a couple of technical Que...
Forum: Technical Support
Last Post: mtom78632
10-06-2021, 11:08 AM
» Replies: 25
» Views: 87,744
Is there any way to make ...
Forum: Custom Systems
Last Post: seorun
10-05-2021, 08:20 AM
» Replies: 42
» Views: 134,745

 
  Last Sell , last Buy
Posted by: mauroprojetos - 10-15-2018, 05:02 PM - Forum: Strategy Development - Replies (1)

People need help, I'm trying to develop a strategy, but for this I need to make the last sell price or the last buy.
Would anyone have any tips?


  EMA tradingview to Gekko
Posted by: mikealkeal - 10-14-2018, 07:37 PM - Forum: Technical Discussion - Replies (2)

Hello,
How to translate tradingview Pinscript :

Code:
a = ema(b, c)


To Js for Gekko in a strategy


I found this in documentation :

Code:
method.init = function() {
 var weight = 10;

 // add the indicator to the strategy
 this.addIndicator('myema', 'EMA', weight);
}

method.check = function() {
 // use indicator results
 var ema = this.indicators.myema.result;

 // do something with macdiff
}

do I have to write 
Code:
method.init = function() {
 var b = 10;
    var c = 10;

 // add the indicator to the strategy
 this.addIndicator('myema', 'EMA', b, c);
}

thanks for your help.

Heart


  Stops importing data
Posted by: Rabberzzz - 10-14-2018, 06:13 PM - Forum: Technical Support - No Replies

The data is want to get imported doesn't do this 100%
For example I was importing data from Kraken EUR/ETH. 
The time period I set was 2018-01-14 to 2018-10-14.
unfortunately all of the sudden it said the importing is done and it did got me only 4 months and 2 weeks instead of almost 9 month.
Why is this happening and how can it be resolved? 
Does anyone else has this same problem?


  backtesting balance after roundtrip
Posted by: slav - 10-14-2018, 05:36 PM - Forum: Strategy Development - Replies (3)

Hi,
I'm wondering how, during backtest, can I keep track of the current balance so i can put it in a variable and use it for other calculations?


  need help whit an indicator
Posted by: fraser - 10-11-2018, 11:14 PM - Forum: Strategy Development - Replies (4)

hi, anyone can write this indicator on javascript? work great but i don't have any knowledge on javascript

if we want i can post the link of the tradingview page of the script

thanks a lot




Code:
study(title="WaveTrend with Crosses [LazyBear]", shorttitle="WT_CROSS_LB")
n1 = input(10, "Channel Length")
n2 = input(21, "Average Length")
obLevel1 = input(60, "Over Bought Level 1")
obLevel2 = input(53, "Over Bought Level 2")
osLevel1 = input(-60, "Over Sold Level 1")
osLevel2 = input(-53, "Over Sold Level 2")

ap = hlc3
esa = ema(ap, n1)
d = ema(abs(ap - esa), n1)
ci = (ap - esa) / (0.015 * d)
tci = ema(ci, n2)

wt1 = tci
wt2 = sma(wt1,4)

plot(0, color=gray)
plot(obLevel1, color=red)
plot(osLevel1, color=green)
plot(obLevel2, color=red)
plot(osLevel2, color=green)

plot(wt1, color=green)
plot(wt2, color=red)
plot(wt1-wt2, color=blue, style=area, transp=80)
plot(cross(wt1, wt2) ? wt2 : na, color = black , style = circles, linewidth = 3)
plot(cross(wt1, wt2) ? wt2 : na, color = (wt2 - wt1 > 0 ? red : lime) , style = circles, linewidth = 2)
barcolor(cross(wt1, wt2) ? (wt2 - wt1 > 0 ? aqua : yellow) : na)


  Backtesting result no data display Please help
Posted by: luvinrafael@gmail.com - 10-10-2018, 01:49 AM - Forum: Feature Requests - Replies (2)

I'm running Gekko on Linux mint 19, 32 bit and Windows 8.1, 64 bit

[Image: Captura%2Bde%2Bpantalla_2018-10-09_11-42-30.png]
[Image: Captura%2Bde%2Bpantalla_2018-10-09_11-42-58.png]



Attached Files
.png   Captura de pantalla_2018-10-09_11-42-30.png (Size: 65.11 KB / Downloads: 7)
.png   Captura de pantalla_2018-10-09_11-42-58.png (Size: 53.49 KB / Downloads: 7)

  How to get previous DAILY candle high value when on 5 min candles?
Posted by: streetlaw - 10-09-2018, 09:52 AM - Forum: Strategy Development - Replies (1)

Pretty much everything but this part I'm clear on, but I can't seem to figure out how to get and display the previous day's high when using 5 minute candles for my strategy. Any ideas?


  Long/short after a period of time.
Posted by: slav - 10-08-2018, 12:32 AM - Forum: Strategy Development - Replies (3)

Hi everyone. I was searching for a couple of days now, and I can't find a solution to this. Basically I want to make a trade after a specified amount of time has passed from the last trade. I'm new to this bot, so sorry for any noobish behavior :) How should Ii approach this? I'm also trying to find documentation of the functions etc. in gekko . Something more detailed than the one found on gekko's page. Not a lot of material to learn from (yet?). Any advice in the matter will be appreciated. Right now I'm testing a strategy based on EMA's, which work good or bad depending on market conditions and simply swapping "long" ans "short" orders with each other inside the code. In moderate volatility for example works good, and gets hefty losses during high volatility and vice versa. Tried stop losses, but they really do more bad than good to the strategy making it erratic and unpredictable. Noticed that the few big losing positions last much much longer than the winning ones, so I thought if I was able to make a position last no longer than say 12 hours it might act as a stop loss in this case. Thank you in advance for any help.


  Deleting imported data
Posted by: runein - 10-05-2018, 12:59 PM - Forum: Technical Support - Replies (3)

Hello.

I have imported 2 files of backtestdata from Binance, 3 months and 6 months. How do I delete the 3 months from Gekko?


  Strategy gives other results on Raspberry Pi than Windows pc
Posted by: ddvos - 10-05-2018, 08:22 AM - Forum: Technical Discussion - Replies (3)

Hello,

Could it be possible to get other results on a Raspberry Pi than a Windows pc?

On Windows, I get a 21% profit where it is on my Raspberry Pi only 4,6% profit. The strategy I use is exactly the same and so are the settings.

I hope someone can help me


-Dominique