Welcome, Guest |
You have to register before you can post on our site.
|
Online Users |
There are currently 209 online users. » 0 Member(s) | 209 Guest(s)
|
Latest Threads |
New Gekko UI in the works
Forum: Announcements
Last Post: dejaoffice
Yesterday, 10:44 AM
» Replies: 137
» Views: 156,424
|
Gekko development status ...
Forum: Announcements
Last Post: zerzamilmu
04-20-2024, 11:39 AM
» Replies: 806
» Views: 536,421
|
An official Gekko service...
Forum: Announcements
Last Post: CaroleDennis
04-20-2024, 04:03 AM
» Replies: 85
» Views: 140,638
|
Gekko with malware spotte...
Forum: Announcements
Last Post: alisonagron
04-18-2024, 08:05 AM
» Replies: 130
» Views: 92,060
|
Gekko 0.6 released
Forum: Announcements
Last Post: sabinaholt
03-27-2024, 12:10 PM
» Replies: 104
» Views: 216,057
|
How to Soft Reset or Hard...
Forum: General Discussion
Last Post: lucifar
10-07-2021, 07:18 PM
» Replies: 22
» Views: 39,444
|
How to add Binance Future...
Forum: Technical Support
Last Post: Xavier32
10-07-2021, 02:20 PM
» Replies: 47
» Views: 81,858
|
Bittrex Configuration hel...
Forum: Bittrex
Last Post: yirzolusto
10-07-2021, 07:39 AM
» Replies: 6
» Views: 15,192
|
[Question] Why does gekko...
Forum: General Discussion
Last Post: cryptocurrency0
10-06-2021, 01:16 PM
» Replies: 16
» Views: 34,627
|
a couple of technical Que...
Forum: Technical Support
Last Post: mtom78632
10-06-2021, 11:08 AM
» Replies: 25
» Views: 45,754
|
|
|
EMA tradingview to Gekko |
Posted by: mikealkeal - 10-14-2018, 07:37 PM - Forum: Technical Discussion
- Replies (2)
|
|
Hello,
How to translate tradingview Pinscript :
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.
|
|
|
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?
|
|
|
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)
|
|
|
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.
|
|
|
|