<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/">
	<channel>
		<title><![CDATA[Gekko Forum - Strategy Development]]></title>
		<link>https://forum.gekko.wizb.it/</link>
		<description><![CDATA[Gekko Forum - https://forum.gekko.wizb.it]]></description>
		<pubDate>Tue, 14 Apr 2026 08:26:29 +0000</pubDate>
		<generator>MyBB</generator>
		<item>
			<title><![CDATA[Is Bitcoin worth the most investment right now?]]></title>
			<link>https://forum.gekko.wizb.it/thread-59038.html</link>
			<pubDate>Tue, 29 Jun 2021 03:02:52 +0000</pubDate>
			<guid isPermaLink="false">https://forum.gekko.wizb.it/thread-59038.html</guid>
			<description><![CDATA[After more than 10 years of existence, Bitcoin has become the coin that attracts the most attention today. Around it, mixed reviews are stronger than ever.<br />
<br />
The historic level for 1 BTC crossed &#36;52,000 on Feb. 17. Bitcoin's incredible growth rate - around 1,000% since the beginning of 2019 - is accompanied by both excitement and doubt.<br />
<br />
Unfriendly people speculate on the timing of the currency's collapse. The other side focuses on the long-term development of Bitcoin.<br />
<br />
Michael Hartnett, Chief Investment Strategist at Bank of America, said that this is the "mother of all bubbles", to compare this currency to the "dot-com bubble" of the past.<br />
<br />
When the fever passes<br />
<br />
The "dot-com bubble" appeared in the late 1990s, when the value of shares of Internet companies increased rapidly.<br />
<br />
At that time, many browsers were born to help the Internet become more popular. The wave of new technology companies that were born and listed on the NASDAQ brought a fever to the world economy.<br />
<br />
Many companies receive large amounts of capital while not yet making a profit. Worried about slowing down, small groups of investors, even those who have never participated in the market, also rushed into the fever, blowing up the growing financial bubble.<br />
<br />
Stocks of technology companies quickly rallied, pushing the market value up exponentially. The NASDAQ index rose from less than 1,000 to more than 5,000 between 1995-2000.<br />
<br />
The dot-com bubble burst when the financial magazine Barron exposed the inefficient use of capital by companies, most of which were only at a loss and were not profitable.<br />
<br />
Panic is gradually spreading among investors. They quickly shifted capital to other channels, leading to a sell-off and a drop in stock prices. <br />
<br />
New "Gold"?<br />
<br />
Looking back, economists see Bitcoin as a bubble destined to burst.<br />
<br />
However, the current market has changed a lot compared to the beginning of the 21st century. Experts believe that Bitcoin will continue to exist even if the cryptocurrency bubble burst.<br />
<br />
The burst of the dot-com bubble brought a lot of economic damage, but it also "produced" Amazon, Google and Ebay. In September 2001, Amazon traded for less than &#36;6 per share. 17 years later, Jeff Bezos' company is on the stock market with a valuation of more than &#36;1 trillion.<br />
<br />
New investors value this coin because it has many practical applications. This is also what makes experts believe in its future despite price fluctuations.<br />
<br />
Bitcoin is independent, does not belong to any particular government or country. The new currency allows people around the world to freely transact, make cross-border payments with cheap and secure fees.<br />
<br />
Is Bitcoin worth the most investment right now?<br />
<br />
&#36;52,000 is certainly not the last record Bitcoin can achieve. Cryptocurrency experts expect the momentum to continue as more and more practical applications are created around the coin.<br />
<br />
Only time can answer the question “Is Bitcoin a bubble”. But now, even governments are focusing on managing this currency. “As regulators pay more attention to cryptocurrencies, the digital asset ecosystem will gradually take shape and be used in a more transparent and active way,” said Shivam Thakral, CEO of Buy Ucoin. .<br />
<br />
Others see Bitcoin as the new gold. "Bitcoin will replace gold - an asset worth about 8 trillion USD today," confirmed Lou Kerner, an analyst from Crypto Oracle.<br />
<br />
Kerner is not the only one to be optimistic. Veteran Wall Street investors, including JP Morgan CEO Jamie Dimon, said they regretted it just three months after calling Bitcoin a scam.<br />
<br />
However, it would still be a mistake not to acknowledge and learn from what happened in the dot-com era.]]></description>
			<content:encoded><![CDATA[After more than 10 years of existence, Bitcoin has become the coin that attracts the most attention today. Around it, mixed reviews are stronger than ever.<br />
<br />
The historic level for 1 BTC crossed &#36;52,000 on Feb. 17. Bitcoin's incredible growth rate - around 1,000% since the beginning of 2019 - is accompanied by both excitement and doubt.<br />
<br />
Unfriendly people speculate on the timing of the currency's collapse. The other side focuses on the long-term development of Bitcoin.<br />
<br />
Michael Hartnett, Chief Investment Strategist at Bank of America, said that this is the "mother of all bubbles", to compare this currency to the "dot-com bubble" of the past.<br />
<br />
When the fever passes<br />
<br />
The "dot-com bubble" appeared in the late 1990s, when the value of shares of Internet companies increased rapidly.<br />
<br />
At that time, many browsers were born to help the Internet become more popular. The wave of new technology companies that were born and listed on the NASDAQ brought a fever to the world economy.<br />
<br />
Many companies receive large amounts of capital while not yet making a profit. Worried about slowing down, small groups of investors, even those who have never participated in the market, also rushed into the fever, blowing up the growing financial bubble.<br />
<br />
Stocks of technology companies quickly rallied, pushing the market value up exponentially. The NASDAQ index rose from less than 1,000 to more than 5,000 between 1995-2000.<br />
<br />
The dot-com bubble burst when the financial magazine Barron exposed the inefficient use of capital by companies, most of which were only at a loss and were not profitable.<br />
<br />
Panic is gradually spreading among investors. They quickly shifted capital to other channels, leading to a sell-off and a drop in stock prices. <br />
<br />
New "Gold"?<br />
<br />
Looking back, economists see Bitcoin as a bubble destined to burst.<br />
<br />
However, the current market has changed a lot compared to the beginning of the 21st century. Experts believe that Bitcoin will continue to exist even if the cryptocurrency bubble burst.<br />
<br />
The burst of the dot-com bubble brought a lot of economic damage, but it also "produced" Amazon, Google and Ebay. In September 2001, Amazon traded for less than &#36;6 per share. 17 years later, Jeff Bezos' company is on the stock market with a valuation of more than &#36;1 trillion.<br />
<br />
New investors value this coin because it has many practical applications. This is also what makes experts believe in its future despite price fluctuations.<br />
<br />
Bitcoin is independent, does not belong to any particular government or country. The new currency allows people around the world to freely transact, make cross-border payments with cheap and secure fees.<br />
<br />
Is Bitcoin worth the most investment right now?<br />
<br />
&#36;52,000 is certainly not the last record Bitcoin can achieve. Cryptocurrency experts expect the momentum to continue as more and more practical applications are created around the coin.<br />
<br />
Only time can answer the question “Is Bitcoin a bubble”. But now, even governments are focusing on managing this currency. “As regulators pay more attention to cryptocurrencies, the digital asset ecosystem will gradually take shape and be used in a more transparent and active way,” said Shivam Thakral, CEO of Buy Ucoin. .<br />
<br />
Others see Bitcoin as the new gold. "Bitcoin will replace gold - an asset worth about 8 trillion USD today," confirmed Lou Kerner, an analyst from Crypto Oracle.<br />
<br />
Kerner is not the only one to be optimistic. Veteran Wall Street investors, including JP Morgan CEO Jamie Dimon, said they regretted it just three months after calling Bitcoin a scam.<br />
<br />
However, it would still be a mistake not to acknowledge and learn from what happened in the dot-com era.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Dynamic RSI BULL BEAR]]></title>
			<link>https://forum.gekko.wizb.it/thread-58935.html</link>
			<pubDate>Mon, 21 Jun 2021 16:33:09 +0000</pubDate>
			<guid isPermaLink="false">https://forum.gekko.wizb.it/thread-58935.html</guid>
			<description><![CDATA[Hi everyone,<br />
<br />
I have been developing a Gekko strategy which is calculating a dynamic RSI value for each BULL or BEAR trend. BULL/BEAR trends are determined by short and long SMAs. I also use ADX to boost up or down the RSI to take advantage when there is a spike. I thinks this strategy has a lot of potential and it performs really well on the backtests for different cryptos. Feel free to use it and of course I am open to suggestions how to make it even better.<br />
<br />
Best regards,<br />
Djuby<br /><!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://forum.gekko.wizb.it/images/attachtypes/txt.png" title="Text Document" border="0" alt=".txt" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=544" target="_blank" title="">Djuby_DynRSI.txt</a> (Size: 9.27 KB / Downloads: 22)
<!-- end: postbit_attachments_attachment --><br /><!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://forum.gekko.wizb.it/images/attachtypes/txt.png" title="Text Document" border="0" alt=".txt" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=545" target="_blank" title="">Djuby_DynRSI_toml.txt</a> (Size: 214 bytes / Downloads: 13)
<!-- end: postbit_attachments_attachment -->]]></description>
			<content:encoded><![CDATA[Hi everyone,<br />
<br />
I have been developing a Gekko strategy which is calculating a dynamic RSI value for each BULL or BEAR trend. BULL/BEAR trends are determined by short and long SMAs. I also use ADX to boost up or down the RSI to take advantage when there is a spike. I thinks this strategy has a lot of potential and it performs really well on the backtests for different cryptos. Feel free to use it and of course I am open to suggestions how to make it even better.<br />
<br />
Best regards,<br />
Djuby<br /><!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://forum.gekko.wizb.it/images/attachtypes/txt.png" title="Text Document" border="0" alt=".txt" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=544" target="_blank" title="">Djuby_DynRSI.txt</a> (Size: 9.27 KB / Downloads: 22)
<!-- end: postbit_attachments_attachment --><br /><!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://forum.gekko.wizb.it/images/attachtypes/txt.png" title="Text Document" border="0" alt=".txt" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=545" target="_blank" title="">Djuby_DynRSI_toml.txt</a> (Size: 214 bytes / Downloads: 13)
<!-- end: postbit_attachments_attachment -->]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[My Personal Experience With the College Writing Se]]></title>
			<link>https://forum.gekko.wizb.it/thread-58834.html</link>
			<pubDate>Mon, 31 May 2021 02:55:19 +0000</pubDate>
			<guid isPermaLink="false">https://forum.gekko.wizb.it/thread-58834.html</guid>
			<description><![CDATA[I cannot say that I am an ideal student. If you ask me to choose between papers and rest, then I will choose the second option. The problem is that I cannot concentrate on any important task for a long time. That is why I decided to choose <a href="https://college-site.com" target="_blank" rel="noopener" class="mycode_url">https://college-site.com</a> to learn everything about academic assistance.<br />
Most likely, you think that I am lazy. But why should I waste all my time on paper? A week ago, I visited the selected website and wrote to the managers something like, "I need help written a paper for college." A huge plus is that they answered me a minute later. Then I made a few clicks to select the paper type, deadline, and additional requirements.<br />
I am usually skeptical about college papers help. But when I received my assignment, I was shocked. How can writers handle paper so quickly? I would never achieve this quality on my own! That is why I decided that I would order all challenging assignments here. Need help with college paper? Then you should follow my example. This writing service will help you get rid of stress and forget about bad grades.]]></description>
			<content:encoded><![CDATA[I cannot say that I am an ideal student. If you ask me to choose between papers and rest, then I will choose the second option. The problem is that I cannot concentrate on any important task for a long time. That is why I decided to choose <a href="https://college-site.com" target="_blank" rel="noopener" class="mycode_url">https://college-site.com</a> to learn everything about academic assistance.<br />
Most likely, you think that I am lazy. But why should I waste all my time on paper? A week ago, I visited the selected website and wrote to the managers something like, "I need help written a paper for college." A huge plus is that they answered me a minute later. Then I made a few clicks to select the paper type, deadline, and additional requirements.<br />
I am usually skeptical about college papers help. But when I received my assignment, I was shocked. How can writers handle paper so quickly? I would never achieve this quality on my own! That is why I decided that I would order all challenging assignments here. Need help with college paper? Then you should follow my example. This writing service will help you get rid of stress and forget about bad grades.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[White Lion Bet]]></title>
			<link>https://forum.gekko.wizb.it/thread-58822.html</link>
			<pubDate>Thu, 27 May 2021 13:17:17 +0000</pubDate>
			<guid isPermaLink="false">https://forum.gekko.wizb.it/thread-58822.html</guid>
			<description><![CDATA[White Lion Bet<br />
In White Lion Bets sono disponibili giochi Microgaming, Betsoft e molti altri fornitori famosi. Vengono offerti anche studi di sviluppo per principianti. L'elenco dei marchi viene visualizzato a destra della panoramica del casinò online.<br />
White Lion Bet Casino è un operatore completo e professionale <a href="https://www.associazionetributaristi.eu/casino-non-aams/white-lion-bet/" target="_blank" rel="noopener" class="mycode_url">https://www.associazionetributaristi.eu/...-lion-bet/</a><br />
I modelli nella hall sono divisi in gruppi:<br />
Hot Games - I più richiesti,<br />
Live Casino White Lion-casinò» live " con veri Stickman,<br />
Video Slots – diversi tipi di video slot,<br />
Card and Table Games-blackjack, roulette, poker e altri giochi da tavolo e di carte,<br />
Classic Slots-macchine da gioco tradizionali,<br />
New Games-novità nel portafoglio,<br />
Se si fa clic sul pulsante Video Slots, viene visualizzato un elenco a discesa dei fornitori. Con esso, puoi selezionare le slot machine delle tue marche preferite.<br />
La finestra Trova un gioco o Provider consente di cercare i modelli desiderati per nome o sviluppatore. Selezionarli sul tema, la presenza di alcune opzioni di gioco o altri criteri non possono.<br />
I giochi di alcuni produttori non possono essere aperti in molti paesi. Controllare gli elenchi dei territori e dei dispositivi nel contratto con l'utente.<br />
<img src="https://www.associazionetributaristi.eu/casino-non-aams/wp-content/uploads/2021/02/casinononaams.png" alt="[Image: casinononaams.png]" class="mycode_img" />]]></description>
			<content:encoded><![CDATA[White Lion Bet<br />
In White Lion Bets sono disponibili giochi Microgaming, Betsoft e molti altri fornitori famosi. Vengono offerti anche studi di sviluppo per principianti. L'elenco dei marchi viene visualizzato a destra della panoramica del casinò online.<br />
White Lion Bet Casino è un operatore completo e professionale <a href="https://www.associazionetributaristi.eu/casino-non-aams/white-lion-bet/" target="_blank" rel="noopener" class="mycode_url">https://www.associazionetributaristi.eu/...-lion-bet/</a><br />
I modelli nella hall sono divisi in gruppi:<br />
Hot Games - I più richiesti,<br />
Live Casino White Lion-casinò» live " con veri Stickman,<br />
Video Slots – diversi tipi di video slot,<br />
Card and Table Games-blackjack, roulette, poker e altri giochi da tavolo e di carte,<br />
Classic Slots-macchine da gioco tradizionali,<br />
New Games-novità nel portafoglio,<br />
Se si fa clic sul pulsante Video Slots, viene visualizzato un elenco a discesa dei fornitori. Con esso, puoi selezionare le slot machine delle tue marche preferite.<br />
La finestra Trova un gioco o Provider consente di cercare i modelli desiderati per nome o sviluppatore. Selezionarli sul tema, la presenza di alcune opzioni di gioco o altri criteri non possono.<br />
I giochi di alcuni produttori non possono essere aperti in molti paesi. Controllare gli elenchi dei territori e dei dispositivi nel contratto con l'utente.<br />
<img src="https://www.associazionetributaristi.eu/casino-non-aams/wp-content/uploads/2021/02/casinononaams.png" alt="[Image: casinononaams.png]" class="mycode_img" />]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[commercial locksmith services]]></title>
			<link>https://forum.gekko.wizb.it/thread-58498.html</link>
			<pubDate>Tue, 30 Mar 2021 15:21:05 +0000</pubDate>
			<guid isPermaLink="false">https://forum.gekko.wizb.it/thread-58498.html</guid>
			<description><![CDATA[<span style="color: #232323;" class="mycode_color"><span style="font-size: medium;" class="mycode_size">Ninja Kwik Locksmith Co. is a well-established locksmith in the area. We serve the local commercial sectors with timely, affordable, high-performance locksmith services. We’re the professionals you need for all things lock and key, from security upgrades to lockout assistance. If you wanna This Service <a href="https://www.ninjakwiklock.com/commercial-locksmith-services/" target="_blank" rel="noopener" class="mycode_url">Click Here</a> </span></span><span style="color: #232323;" class="mycode_color"><span style="font-size: medium;" class="mycode_size">commercial locksmith services</span></span><span style="color: #232323;" class="mycode_color"><span style="font-size: medium;" class="mycode_size">.</span></span>]]></description>
			<content:encoded><![CDATA[<span style="color: #232323;" class="mycode_color"><span style="font-size: medium;" class="mycode_size">Ninja Kwik Locksmith Co. is a well-established locksmith in the area. We serve the local commercial sectors with timely, affordable, high-performance locksmith services. We’re the professionals you need for all things lock and key, from security upgrades to lockout assistance. If you wanna This Service <a href="https://www.ninjakwiklock.com/commercial-locksmith-services/" target="_blank" rel="noopener" class="mycode_url">Click Here</a> </span></span><span style="color: #232323;" class="mycode_color"><span style="font-size: medium;" class="mycode_size">commercial locksmith services</span></span><span style="color: #232323;" class="mycode_color"><span style="font-size: medium;" class="mycode_size">.</span></span>]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Emergency Plumbing Services in Arlington VA]]></title>
			<link>https://forum.gekko.wizb.it/thread-58497.html</link>
			<pubDate>Tue, 30 Mar 2021 14:42:22 +0000</pubDate>
			<guid isPermaLink="false">https://forum.gekko.wizb.it/thread-58497.html</guid>
			<description><![CDATA[<span style="color: #222222;" class="mycode_color"><span style="font-family: Roboto, HelveticaNeue, Arial, sans-serif;" class="mycode_font">Are your drains constantly clogging? Are you looking for a drain cleaning in Alexandria, VA? Clogged and blocked drains are the most common issue faced by homeowners. However, this issue can be eliminated by using our professional drain cleaning services.<br />
To unclog your drains, skins, toilets, etc. <a href="https://odemzplumbing.com/full-plumbing-services-in-arlington-va/" target="_blank" rel="noopener" class="mycode_url">Click Here</a> Emergency Plumbing Services in Arlington VA</span></span>]]></description>
			<content:encoded><![CDATA[<span style="color: #222222;" class="mycode_color"><span style="font-family: Roboto, HelveticaNeue, Arial, sans-serif;" class="mycode_font">Are your drains constantly clogging? Are you looking for a drain cleaning in Alexandria, VA? Clogged and blocked drains are the most common issue faced by homeowners. However, this issue can be eliminated by using our professional drain cleaning services.<br />
To unclog your drains, skins, toilets, etc. <a href="https://odemzplumbing.com/full-plumbing-services-in-arlington-va/" target="_blank" rel="noopener" class="mycode_url">Click Here</a> Emergency Plumbing Services in Arlington VA</span></span>]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[First attempt to create a strategy]]></title>
			<link>https://forum.gekko.wizb.it/thread-58209.html</link>
			<pubDate>Tue, 03 Nov 2020 09:12:12 +0000</pubDate>
			<guid isPermaLink="false">https://forum.gekko.wizb.it/thread-58209.html</guid>
			<description><![CDATA[Hello everyone,<br />
I hope i can put this  here in this forum. I have no experience in JavaScript, but I have script knowledge in powershell. I'm just trying out a bit. In my current strategy I would like to  buy  and sell again as soon as I have a 1% profit.<br />
The whole thing should then be repeated. I realize that this is not a good strategy but to learn and how it works in Javascript it would be interesting.<br />
Here is my check function:<br />
<br />
strat.check = function(candle) {<br />
<br />
<br />
var ema = this.indicators.myema.result;<br />
var sma = this.indicators.mysma.result;<br />
var adx = this.indicators.myadx.result;<br />
<br />
if(ema &gt; sma &amp;&amp; adx &gt;25)<br />
{<br />
<br />
	this.advice('long');<br />
	buyat = candle.close;<br />
	sellat = buyat / 0.99;<br />
	if(candle.close &gt;= sellat)<br />
	{<br />
		delete buyat;<br />
		delete sellat;<br />
		this.adivce('short');<br />
	<br />
	}<br />
	else<br />
	{<br />
	<br />
	}<br />
 }<br />
  // your code!<br />
}<br />
<br />
module.exports = strat;<br />
Sadly its not working i dont even know if im on the right path here<br />
Any help much appriciated  <img src="https://forum.gekko.wizb.it/images/smilies/smile.png" alt="Smile" title="Smile" class="smilie smilie_1" />]]></description>
			<content:encoded><![CDATA[Hello everyone,<br />
I hope i can put this  here in this forum. I have no experience in JavaScript, but I have script knowledge in powershell. I'm just trying out a bit. In my current strategy I would like to  buy  and sell again as soon as I have a 1% profit.<br />
The whole thing should then be repeated. I realize that this is not a good strategy but to learn and how it works in Javascript it would be interesting.<br />
Here is my check function:<br />
<br />
strat.check = function(candle) {<br />
<br />
<br />
var ema = this.indicators.myema.result;<br />
var sma = this.indicators.mysma.result;<br />
var adx = this.indicators.myadx.result;<br />
<br />
if(ema &gt; sma &amp;&amp; adx &gt;25)<br />
{<br />
<br />
	this.advice('long');<br />
	buyat = candle.close;<br />
	sellat = buyat / 0.99;<br />
	if(candle.close &gt;= sellat)<br />
	{<br />
		delete buyat;<br />
		delete sellat;<br />
		this.adivce('short');<br />
	<br />
	}<br />
	else<br />
	{<br />
	<br />
	}<br />
 }<br />
  // your code!<br />
}<br />
<br />
module.exports = strat;<br />
Sadly its not working i dont even know if im on the right path here<br />
Any help much appriciated  <img src="https://forum.gekko.wizb.it/images/smilies/smile.png" alt="Smile" title="Smile" class="smilie smilie_1" />]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Prevent Gekko selling under buy price]]></title>
			<link>https://forum.gekko.wizb.it/thread-58162.html</link>
			<pubDate>Wed, 16 Sep 2020 12:46:42 +0000</pubDate>
			<guid isPermaLink="false">https://forum.gekko.wizb.it/thread-58162.html</guid>
			<description><![CDATA[How do I get Gekko to never sell under buy price, and keep the open position even if the market takes a plunge? All the strategies I've tried all seem to often sell under buy price. Is there a way to prevent this?<br />
<br />
Thanks]]></description>
			<content:encoded><![CDATA[How do I get Gekko to never sell under buy price, and keep the open position even if the market takes a plunge? All the strategies I've tried all seem to often sell under buy price. Is there a way to prevent this?<br />
<br />
Thanks]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Is Buy and Hold Really the Best Strategy in Crypto?]]></title>
			<link>https://forum.gekko.wizb.it/thread-58139.html</link>
			<pubDate>Wed, 26 Aug 2020 10:52:43 +0000</pubDate>
			<guid isPermaLink="false">https://forum.gekko.wizb.it/thread-58139.html</guid>
			<description><![CDATA[<span style="color: #0e101a;" class="mycode_color">Some people say that Buy and Hold is the best strategy and can't be beaten. They hear phrases like “<span style="font-style: italic;" class="mycode_i">95% of traders lose money</span>” and automatically assume that all trading is bad and markets can not be outperformed.</span><br />
<br />
<span style="font-weight: bold;" class="mycode_b"><span style="color: #0e101a;" class="mycode_color">In my Medium post, I’m going to show you, that holding might not be the best option if you put in a little bit of work. To do that, I compare Buy and Hold returns for 25 coins with several basic trend-following strategies in different time periods (over 3.5 years of data and then a little extra).</span></span><br />
<br />
<span style="color: #0e101a;" class="mycode_color"><a href="https://medium.com/@deandree/is-buy-and-hold-really-the-best-strategy-in-crypto-4ae0e8c77734" target="_blank" rel="noopener" class="mycode_url">READ THE POST HERE</a></span><br />
<br />
<span style="color: #0e101a;" class="mycode_color">The source code of strategies and raw test results (CSV) is pushed to my <a href="https://github.com/deandreee/medium_part10_bnh" target="_blank" rel="noopener" class="mycode_url">Github</a>.</span><br />
<br />
<span style="color: #0e101a;" class="mycode_color">Let me know what you think! Thanks!</span><br />
<br />
<img src="https://i.postimg.cc/wxkFKGvQ/1-med10-profit-Jan2019-Jul2020-2020-08-24-13-24.png" alt="[Image: 1-med10-profit-Jan2019-Jul2020-2020-08-24-13-24.png]" class="mycode_img" />]]></description>
			<content:encoded><![CDATA[<span style="color: #0e101a;" class="mycode_color">Some people say that Buy and Hold is the best strategy and can't be beaten. They hear phrases like “<span style="font-style: italic;" class="mycode_i">95% of traders lose money</span>” and automatically assume that all trading is bad and markets can not be outperformed.</span><br />
<br />
<span style="font-weight: bold;" class="mycode_b"><span style="color: #0e101a;" class="mycode_color">In my Medium post, I’m going to show you, that holding might not be the best option if you put in a little bit of work. To do that, I compare Buy and Hold returns for 25 coins with several basic trend-following strategies in different time periods (over 3.5 years of data and then a little extra).</span></span><br />
<br />
<span style="color: #0e101a;" class="mycode_color"><a href="https://medium.com/@deandree/is-buy-and-hold-really-the-best-strategy-in-crypto-4ae0e8c77734" target="_blank" rel="noopener" class="mycode_url">READ THE POST HERE</a></span><br />
<br />
<span style="color: #0e101a;" class="mycode_color">The source code of strategies and raw test results (CSV) is pushed to my <a href="https://github.com/deandreee/medium_part10_bnh" target="_blank" rel="noopener" class="mycode_url">Github</a>.</span><br />
<br />
<span style="color: #0e101a;" class="mycode_color">Let me know what you think! Thanks!</span><br />
<br />
<img src="https://i.postimg.cc/wxkFKGvQ/1-med10-profit-Jan2019-Jul2020-2020-08-24-13-24.png" alt="[Image: 1-med10-profit-Jan2019-Jul2020-2020-08-24-13-24.png]" class="mycode_img" />]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Candle data for 2 pairs in one strategy]]></title>
			<link>https://forum.gekko.wizb.it/thread-58067.html</link>
			<pubDate>Mon, 02 Mar 2020 17:17:21 +0000</pubDate>
			<guid isPermaLink="false">https://forum.gekko.wizb.it/thread-58067.html</guid>
			<description><![CDATA[Hello everyone, please tell me. <br />
On GitHub I saw some strategies that realize this idea. I have a USDT / ETH trading strategy, I want to get data about ETC / BTC ratio in the same strategy. <br />
Can anyone tell how to prescribe and where can i find such strategies?<br />
<br />
ESSENCE: I need to get candle data in one strategy for 2 pairs in one strategies]]></description>
			<content:encoded><![CDATA[Hello everyone, please tell me. <br />
On GitHub I saw some strategies that realize this idea. I have a USDT / ETH trading strategy, I want to get data about ETC / BTC ratio in the same strategy. <br />
Can anyone tell how to prescribe and where can i find such strategies?<br />
<br />
ESSENCE: I need to get candle data in one strategy for 2 pairs in one strategies]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Looking for simple PingPong Strategy]]></title>
			<link>https://forum.gekko.wizb.it/thread-58061.html</link>
			<pubDate>Wed, 29 Jan 2020 18:59:04 +0000</pubDate>
			<guid isPermaLink="false">https://forum.gekko.wizb.it/thread-58061.html</guid>
			<description><![CDATA[Hello, i do not know coding and looking for help.<br />
<br />
I tested some in gekko integrated strategies and also addons i found on web but not satisfied with them.<br />
I  am looking for a simple strategy to trade a coin on binance with BTC pair<br />
<br />
Buying coin at X sats and selling at Y, when sell is done strategy should start again, buy at X, sell at Y.<br />
Maybe also buy at current price and sell X% higher, then do the same again.<br />
<br />
Can that be done by Gekko and how?<br />
<br />
Sorry if that is a very noob question, if someone knows please answer.<br />
<br />
Thanks in forward]]></description>
			<content:encoded><![CDATA[Hello, i do not know coding and looking for help.<br />
<br />
I tested some in gekko integrated strategies and also addons i found on web but not satisfied with them.<br />
I  am looking for a simple strategy to trade a coin on binance with BTC pair<br />
<br />
Buying coin at X sats and selling at Y, when sell is done strategy should start again, buy at X, sell at Y.<br />
Maybe also buy at current price and sell X% higher, then do the same again.<br />
<br />
Can that be done by Gekko and how?<br />
<br />
Sorry if that is a very noob question, if someone knows please answer.<br />
<br />
Thanks in forward]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Extract difficult market situation timeframes]]></title>
			<link>https://forum.gekko.wizb.it/thread-58041.html</link>
			<pubDate>Mon, 18 Nov 2019 10:34:33 +0000</pubDate>
			<guid isPermaLink="false">https://forum.gekko.wizb.it/thread-58041.html</guid>
			<description><![CDATA[Hey crypto trading guys,<br />
<br />
I am experimenting a bit with japonicus (brute force strategy parameters with a genetic evolution approach). <br />
There often seem to be problems with overfitting while using gekko in live trading (I am still only backtesting).<br />
<br />
<br />
Now I had the <a href="https://github.com/Gab0/japonicus/issues/193" target="_blank" rel="noopener" class="mycode_url">idea (link to japonicus issue on github)</a> to improve japonicus to do the following:<br />
not only backtest for a specific timeframe, but also mixing in 5% or 10% into the tests with<br />
timeframes that are particular difficult to handle for strategies. <br />
<br />
For this, we have to get our hands on market times that match this criteria. How do we get there?<br />
<br />
Say, we have a strategy relying on the RSI indicator, and parameters for a specific timeframe, three month, one year, whatever.<br />
It is doing extremely good (overfitted?) in that specific timeframe, and when we look at the trading history, <br />
there are some days (or a week) in the timeframe where it does particularly bad, no matter how good this strategy/parameter pair was<br />
at the end. <br />
<br />
Then we have a second strategy, based on Bollinger Bands, and parameters that are very good for a specific timeframe, too.<br />
But even there are times when the strategy isn't working very good with the market situation.<br />
<br />
Perhaps the code of those strategies could be modified to write time periods to CSV when it is not doing a good job.<br />
<br />
Then, when some CSVs are collected, they could be run through a script which overlays the data of all CSVs and looks for equality.<br />
The result of this could then be fed to japonicus as particular difficult market times.<br />
<br />
Therefore, I am interested in thoughts on this approach and how a strategy could be modified to write out such a CSV.<br />
And perhaps some strategy/parameter pairs that did very well in the past, with the specific timeframe they were used and measured at. <br />
Can be from 2018/2017, so no one has to reveal his strategy portfolio that he uses today.<br />
<br />
Of course it could be that my thinking is too complicated and there is an easier solution for this. I am just beginning with gekko and getting to a<br />
viable live trading solution, so bear with me.<br />
<br />
Have a nice week!]]></description>
			<content:encoded><![CDATA[Hey crypto trading guys,<br />
<br />
I am experimenting a bit with japonicus (brute force strategy parameters with a genetic evolution approach). <br />
There often seem to be problems with overfitting while using gekko in live trading (I am still only backtesting).<br />
<br />
<br />
Now I had the <a href="https://github.com/Gab0/japonicus/issues/193" target="_blank" rel="noopener" class="mycode_url">idea (link to japonicus issue on github)</a> to improve japonicus to do the following:<br />
not only backtest for a specific timeframe, but also mixing in 5% or 10% into the tests with<br />
timeframes that are particular difficult to handle for strategies. <br />
<br />
For this, we have to get our hands on market times that match this criteria. How do we get there?<br />
<br />
Say, we have a strategy relying on the RSI indicator, and parameters for a specific timeframe, three month, one year, whatever.<br />
It is doing extremely good (overfitted?) in that specific timeframe, and when we look at the trading history, <br />
there are some days (or a week) in the timeframe where it does particularly bad, no matter how good this strategy/parameter pair was<br />
at the end. <br />
<br />
Then we have a second strategy, based on Bollinger Bands, and parameters that are very good for a specific timeframe, too.<br />
But even there are times when the strategy isn't working very good with the market situation.<br />
<br />
Perhaps the code of those strategies could be modified to write time periods to CSV when it is not doing a good job.<br />
<br />
Then, when some CSVs are collected, they could be run through a script which overlays the data of all CSVs and looks for equality.<br />
The result of this could then be fed to japonicus as particular difficult market times.<br />
<br />
Therefore, I am interested in thoughts on this approach and how a strategy could be modified to write out such a CSV.<br />
And perhaps some strategy/parameter pairs that did very well in the past, with the specific timeframe they were used and measured at. <br />
Can be from 2018/2017, so no one has to reveal his strategy portfolio that he uses today.<br />
<br />
Of course it could be that my thinking is too complicated and there is an easier solution for this. I am just beginning with gekko and getting to a<br />
viable live trading solution, so bear with me.<br />
<br />
Have a nice week!]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[My own neural network]]></title>
			<link>https://forum.gekko.wizb.it/thread-58019.html</link>
			<pubDate>Fri, 04 Oct 2019 10:39:49 +0000</pubDate>
			<guid isPermaLink="false">https://forum.gekko.wizb.it/thread-58019.html</guid>
			<description><![CDATA[Hi<br />
I wanted to build a strategy that could learn how to adjust. <br />
Parameters: ADA, 3 months with 60min candles<br />
My first step was to test tried and tested indicators. I started with Tulip, ema.<br />
Attachment: using indicators shows market -37% but strategy did 16%<br />
<br />
Next step was to normalize inputs. NN doesn't like 0.00000567. So I normalized to 5.67. I also made sure that all inputs were of the same power(Math) so that no input would overwhelm the algorithm.<br />
I used a feed forward neural network with backpropagation with several hidden layers.<br />
For training, Backtest saved a json file with the results, then it takes the roundtrip data, sees profit % (- or +) and generates training data. This way I have automated the training cycle.<br />
Same parameters with the NN is attachment using NN.<br />
result is 26%<br />
<br />
This was just an early test. Going to try add/remove inputs.<br />
I couple of things I've seen. Overfitting the neural network is definitely an issue here. If I feed it too much data, results aren't as good, plus it will behave poorly on other assets. Current version behaves ok when switching assets, but I have seen that is better to train the neural network for each asset as they have distinct behaviours.<br /><!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://forum.gekko.wizb.it/images/attachtypes/image.png" title="PNG Image" border="0" alt=".png" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=395" target="_blank" title="">using indicatores and candle size.png</a> (Size: 264.55 KB / Downloads: 68)
<!-- end: postbit_attachments_attachment --><br /><!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://forum.gekko.wizb.it/images/attachtypes/image.png" title="PNG Image" border="0" alt=".png" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=396" target="_blank" title="">using NN.png</a> (Size: 271.75 KB / Downloads: 54)
<!-- end: postbit_attachments_attachment -->]]></description>
			<content:encoded><![CDATA[Hi<br />
I wanted to build a strategy that could learn how to adjust. <br />
Parameters: ADA, 3 months with 60min candles<br />
My first step was to test tried and tested indicators. I started with Tulip, ema.<br />
Attachment: using indicators shows market -37% but strategy did 16%<br />
<br />
Next step was to normalize inputs. NN doesn't like 0.00000567. So I normalized to 5.67. I also made sure that all inputs were of the same power(Math) so that no input would overwhelm the algorithm.<br />
I used a feed forward neural network with backpropagation with several hidden layers.<br />
For training, Backtest saved a json file with the results, then it takes the roundtrip data, sees profit % (- or +) and generates training data. This way I have automated the training cycle.<br />
Same parameters with the NN is attachment using NN.<br />
result is 26%<br />
<br />
This was just an early test. Going to try add/remove inputs.<br />
I couple of things I've seen. Overfitting the neural network is definitely an issue here. If I feed it too much data, results aren't as good, plus it will behave poorly on other assets. Current version behaves ok when switching assets, but I have seen that is better to train the neural network for each asset as they have distinct behaviours.<br /><!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://forum.gekko.wizb.it/images/attachtypes/image.png" title="PNG Image" border="0" alt=".png" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=395" target="_blank" title="">using indicatores and candle size.png</a> (Size: 264.55 KB / Downloads: 68)
<!-- end: postbit_attachments_attachment --><br /><!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://forum.gekko.wizb.it/images/attachtypes/image.png" title="PNG Image" border="0" alt=".png" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=396" target="_blank" title="">using NN.png</a> (Size: 271.75 KB / Downloads: 54)
<!-- end: postbit_attachments_attachment -->]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[How to stop and then re-run a strategy without re-warming up]]></title>
			<link>https://forum.gekko.wizb.it/thread-58018.html</link>
			<pubDate>Wed, 02 Oct 2019 09:43:54 +0000</pubDate>
			<guid isPermaLink="false">https://forum.gekko.wizb.it/thread-58018.html</guid>
			<description><![CDATA[if I have stoped a strategy and then I have to re-run again why do I have to warm it up again?]]></description>
			<content:encoded><![CDATA[if I have stoped a strategy and then I have to re-run again why do I have to warm it up again?]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Please give me a clue what does the strategy do?]]></title>
			<link>https://forum.gekko.wizb.it/thread-58016.html</link>
			<pubDate>Mon, 30 Sep 2019 15:01:48 +0000</pubDate>
			<guid isPermaLink="false">https://forum.gekko.wizb.it/thread-58016.html</guid>
			<description><![CDATA[Hi Gekko users <br />
<br />
Please help me understand what does this strategy do? What is SMA_long = 1000? SMA_short = 50? etc..<br />
<br />
<br />
SMA_long = 1000<br />
SMA_short = 50<br />
<br />
# SMA Trends<br />
SMA_long = 1000<br />
SMA_short = 50<br />
<br />
# BULL<br />
BULL_RSI = 10<br />
BULL_RSI_high = 80<br />
BULL_RSI_low = 60<br />
<br />
# BEAR<br />
BEAR_RSI = 15<br />
BEAR_RSI_high = 50<br />
BEAR_RSI_low = 20<br />
<br />
# BULL/BEAR is defined by the longer SMA trends<br />
# if SHORT over LONG = BULL<br />
# if SHORT under LONG = BEAR<br />
<br />
<br />
<br />
Thank you for help]]></description>
			<content:encoded><![CDATA[Hi Gekko users <br />
<br />
Please help me understand what does this strategy do? What is SMA_long = 1000? SMA_short = 50? etc..<br />
<br />
<br />
SMA_long = 1000<br />
SMA_short = 50<br />
<br />
# SMA Trends<br />
SMA_long = 1000<br />
SMA_short = 50<br />
<br />
# BULL<br />
BULL_RSI = 10<br />
BULL_RSI_high = 80<br />
BULL_RSI_low = 60<br />
<br />
# BEAR<br />
BEAR_RSI = 15<br />
BEAR_RSI_high = 50<br />
BEAR_RSI_low = 20<br />
<br />
# BULL/BEAR is defined by the longer SMA trends<br />
# if SHORT over LONG = BULL<br />
# if SHORT under LONG = BEAR<br />
<br />
<br />
<br />
Thank you for help]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[candlestickTrader (new)]]></title>
			<link>https://forum.gekko.wizb.it/thread-58007.html</link>
			<pubDate>Wed, 11 Sep 2019 12:17:52 +0000</pubDate>
			<guid isPermaLink="false">https://forum.gekko.wizb.it/thread-58007.html</guid>
			<description><![CDATA[So you've seen some youtube or red some books and thought Candle sticks are hot.<br />
Oh well, I did for a while and stumbled upon some code on the internet, bug fixed it, and then extended it to trade basically.<br />
This is not optimal code yet,. I wrote lots of comments in it,<br />
So someone may find the time to expand upon this one, to improve the results. <br />
<br />
<span style="color: #993333;" class="mycode_color"><span style="font-weight: bold;" class="mycode_b">I share candlestickTrader as a raw version of code with lots of comments.<br />
I have less time to work out this one, but I hope someone else can continue on it.</span></span><br />
<br />
<br />
<span style="color: #993333;" class="mycode_color">Notice some functions I already added into in the code but currently are not used.</span><br />
<br />
So bugs where resolved it does trade on candles, <br />
But I think the whole idea behind candlestick patterns is flawed (oversimplified)  and not all of the theory behind is used <br />
See partly my comments about it in the code, also some parts made no sense to me as I didn't understood it, your welcome to enlight me <br />
<br />
This is not yet a good trading bot, but yes it does do candle trading (mostly). <br />
<br />
<span style="color: #ff3333;" class="mycode_color">Notice also that this strategy creates csv log files, for research and debugging (in the main Gekko folder)</span><br />
Since Gekko doesn't show candlesticks, I figured you may like to see the raw data in Excel or Calc to verify this kind of trading.<br />
<br />
Read the comments in the code before asking about this strategy<br />
The comments contain lots of info.<br />
I know this is not a very good trader at the moment, but it might be a good starting point to create one<br />
As essentially the candle patterns are derived from the market in this piece of code.<br />
 <br />
There is no TOML file included, so I enforce you to alter the code if you like to change values, (it doesn't readout a toml file currently).<br />
<br />
<span style="color: #ff33cc;" class="mycode_color">Oh one warning</span><br />
Trading on Doji is highly risky<br />
While it does spot a Doji, I decided not to trade on it.. (told earlier the theory isn't fully used) <br />
Doji trading requires more market info and is better avoided if you don't know what to look for. <br />
I got many thoughts about that, but I let you free to code that yourself<br />
You can share your code here if you got something working stable on it.<br />
Just didn't want to put people into high risks. <br />
<br />
code can be found here: <a href="https://github.com/PGTBoos/GekkoStrategies" target="_blank" rel="noopener" class="mycode_url">https://github.com/PGTBoos/GekkoStrategies</a>]]></description>
			<content:encoded><![CDATA[So you've seen some youtube or red some books and thought Candle sticks are hot.<br />
Oh well, I did for a while and stumbled upon some code on the internet, bug fixed it, and then extended it to trade basically.<br />
This is not optimal code yet,. I wrote lots of comments in it,<br />
So someone may find the time to expand upon this one, to improve the results. <br />
<br />
<span style="color: #993333;" class="mycode_color"><span style="font-weight: bold;" class="mycode_b">I share candlestickTrader as a raw version of code with lots of comments.<br />
I have less time to work out this one, but I hope someone else can continue on it.</span></span><br />
<br />
<br />
<span style="color: #993333;" class="mycode_color">Notice some functions I already added into in the code but currently are not used.</span><br />
<br />
So bugs where resolved it does trade on candles, <br />
But I think the whole idea behind candlestick patterns is flawed (oversimplified)  and not all of the theory behind is used <br />
See partly my comments about it in the code, also some parts made no sense to me as I didn't understood it, your welcome to enlight me <br />
<br />
This is not yet a good trading bot, but yes it does do candle trading (mostly). <br />
<br />
<span style="color: #ff3333;" class="mycode_color">Notice also that this strategy creates csv log files, for research and debugging (in the main Gekko folder)</span><br />
Since Gekko doesn't show candlesticks, I figured you may like to see the raw data in Excel or Calc to verify this kind of trading.<br />
<br />
Read the comments in the code before asking about this strategy<br />
The comments contain lots of info.<br />
I know this is not a very good trader at the moment, but it might be a good starting point to create one<br />
As essentially the candle patterns are derived from the market in this piece of code.<br />
 <br />
There is no TOML file included, so I enforce you to alter the code if you like to change values, (it doesn't readout a toml file currently).<br />
<br />
<span style="color: #ff33cc;" class="mycode_color">Oh one warning</span><br />
Trading on Doji is highly risky<br />
While it does spot a Doji, I decided not to trade on it.. (told earlier the theory isn't fully used) <br />
Doji trading requires more market info and is better avoided if you don't know what to look for. <br />
I got many thoughts about that, but I let you free to code that yourself<br />
You can share your code here if you got something working stable on it.<br />
Just didn't want to put people into high risks. <br />
<br />
code can be found here: <a href="https://github.com/PGTBoos/GekkoStrategies" target="_blank" rel="noopener" class="mycode_url">https://github.com/PGTBoos/GekkoStrategies</a>]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Inverse Fisher RSI Strat- only returns false.]]></title>
			<link>https://forum.gekko.wizb.it/thread-58005.html</link>
			<pubDate>Wed, 11 Sep 2019 01:27:05 +0000</pubDate>
			<guid isPermaLink="false">https://forum.gekko.wizb.it/thread-58005.html</guid>
			<description><![CDATA[Hey everyone- hope you can help me out with this. I've been revisiting an old strategy post from a year or so ago. So this doesn't generate any errors when I run it, but something is off because the IFRSI indicator never returns anything. When I console.log to print the result as it runs it always comes back with "false"- it should be returning 0.5 or -0.5. Anyone have any advice for me on this? The two required indicators and the strategy file are below.....<br />
<br />
<br />
<span style="color: #666666;" class="mycode_color">Here is the first indicator:</span><br />
<br />
<br />
<br />
<span style="color: #666666;" class="mycode_color">/indicators/IFTRSI.js   </span><br />
<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>var RSI = require('./RSI.js');<br />
var WMA = require('./WMA.js');<br />
<br />
var Indicator = function(config) {<br />
 this.result = false;<br />
 this.rsiInterval = config.interval;<br />
 this.wmaLength = config.length;<br />
 this.rsi = new RSI({interval: this.rsiInterval});<br />
this.wma = new WMA({length: this.wmaLength});<br />
}<br />
<br />
Indicator.prototype.update = function (candle) {<br />
 this.rsi.update(candle);<br />
 if (this.rsi.result) {<br />
   let v1 = 0.1 * (this.rsi.result - 50);<br />
   this.wma.update(v1);<br />
<br />
   if (this.wma.result) { <br />
       this.result = (Math.exp(2 * this.wma.result)-1) / (Math.exp(2 * this.wma.result)+1);<br />
   }<br />
 }<br />
}<br />
<br />
module.exports = Indicator;</code></div></div><br />
<br />
Here is the second indicator-<br />
<br />
<br />
<span style="color: #666666;" class="mycode_color"> /indicators/WMA.js</span><br />
<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>var Indicator = function(settings) {<br />
   this.input = 'price';<br />
   this.windowLength = settings.length;<br />
   this.prices = [];<br />
   this.result = 0;<br />
   this.age = 0;<br />
   this.sum = 0;<br />
}<br />
<br />
Indicator.prototype.update = function(price) {<br />
   var tail = this.prices[this.age] || 0;<br />
   this.prices.push(price);<br />
<br />
<br />
   var psum =0;<br />
   var pdiv = 0;<br />
<br />
   for (var j=0;j&lt;this.prices.length;j++)<br />
   {<br />
<br />
       psum += j * this.prices[j];<br />
       pdiv += j;<br />
<br />
   }<br />
<br />
   this.result = psum/pdiv;<br />
   if (this.prices.length &gt; this.windowLength)<br />
   {<br />
       this.prices.shift()<br />
<br />
   }<br />
<br />
   this.age = (this.age + 1) % this.windowLength<br />
}<br />
<br />
module.exports = Indicator;</code></div></div><br />
And here is the strategy file--<br />
<br />
<br />
/strategies/IFRSI.js<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>var method = {};<br />
var traded = false;<br />
var IFTRSI = require('./indicators/IFTRSI.js');<br />
method.init = function() {<br />
    var iftrsiParameters = {rsiInterval: 14, wmaLength: 8};<br />
    this.addIndicator('iftrsi', 'IFTRSI', iftrsiParameters);<br />
    <br />
}<br />
method.update = function(candle) {<br />
    this.indicators.iftrsi.update(candle);<br />
  <br />
}<br />
method.check = function(candle) {<br />
    var iftResult = this.indicators.iftrsi.result;<br />
<br />
    console.log(iftResult);<br />
<br />
if ( traded == false &amp;&amp; iftResult == -0.5 ){<br />
    this.advice('long')<br />
    traded = true;<br />
    console.log(iftResult);<br />
} else if(traded == true &amp;&amp; iftResult == 0.5 ){<br />
    this.advice('short')<br />
    console.log(iftResult);<br />
    traded = false;<br />
}<br />
}<br />
<br />
<br />
module.exports = method;</code></div></div>]]></description>
			<content:encoded><![CDATA[Hey everyone- hope you can help me out with this. I've been revisiting an old strategy post from a year or so ago. So this doesn't generate any errors when I run it, but something is off because the IFRSI indicator never returns anything. When I console.log to print the result as it runs it always comes back with "false"- it should be returning 0.5 or -0.5. Anyone have any advice for me on this? The two required indicators and the strategy file are below.....<br />
<br />
<br />
<span style="color: #666666;" class="mycode_color">Here is the first indicator:</span><br />
<br />
<br />
<br />
<span style="color: #666666;" class="mycode_color">/indicators/IFTRSI.js   </span><br />
<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>var RSI = require('./RSI.js');<br />
var WMA = require('./WMA.js');<br />
<br />
var Indicator = function(config) {<br />
 this.result = false;<br />
 this.rsiInterval = config.interval;<br />
 this.wmaLength = config.length;<br />
 this.rsi = new RSI({interval: this.rsiInterval});<br />
this.wma = new WMA({length: this.wmaLength});<br />
}<br />
<br />
Indicator.prototype.update = function (candle) {<br />
 this.rsi.update(candle);<br />
 if (this.rsi.result) {<br />
   let v1 = 0.1 * (this.rsi.result - 50);<br />
   this.wma.update(v1);<br />
<br />
   if (this.wma.result) { <br />
       this.result = (Math.exp(2 * this.wma.result)-1) / (Math.exp(2 * this.wma.result)+1);<br />
   }<br />
 }<br />
}<br />
<br />
module.exports = Indicator;</code></div></div><br />
<br />
Here is the second indicator-<br />
<br />
<br />
<span style="color: #666666;" class="mycode_color"> /indicators/WMA.js</span><br />
<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>var Indicator = function(settings) {<br />
   this.input = 'price';<br />
   this.windowLength = settings.length;<br />
   this.prices = [];<br />
   this.result = 0;<br />
   this.age = 0;<br />
   this.sum = 0;<br />
}<br />
<br />
Indicator.prototype.update = function(price) {<br />
   var tail = this.prices[this.age] || 0;<br />
   this.prices.push(price);<br />
<br />
<br />
   var psum =0;<br />
   var pdiv = 0;<br />
<br />
   for (var j=0;j&lt;this.prices.length;j++)<br />
   {<br />
<br />
       psum += j * this.prices[j];<br />
       pdiv += j;<br />
<br />
   }<br />
<br />
   this.result = psum/pdiv;<br />
   if (this.prices.length &gt; this.windowLength)<br />
   {<br />
       this.prices.shift()<br />
<br />
   }<br />
<br />
   this.age = (this.age + 1) % this.windowLength<br />
}<br />
<br />
module.exports = Indicator;</code></div></div><br />
And here is the strategy file--<br />
<br />
<br />
/strategies/IFRSI.js<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>var method = {};<br />
var traded = false;<br />
var IFTRSI = require('./indicators/IFTRSI.js');<br />
method.init = function() {<br />
    var iftrsiParameters = {rsiInterval: 14, wmaLength: 8};<br />
    this.addIndicator('iftrsi', 'IFTRSI', iftrsiParameters);<br />
    <br />
}<br />
method.update = function(candle) {<br />
    this.indicators.iftrsi.update(candle);<br />
  <br />
}<br />
method.check = function(candle) {<br />
    var iftResult = this.indicators.iftrsi.result;<br />
<br />
    console.log(iftResult);<br />
<br />
if ( traded == false &amp;&amp; iftResult == -0.5 ){<br />
    this.advice('long')<br />
    traded = true;<br />
    console.log(iftResult);<br />
} else if(traded == true &amp;&amp; iftResult == 0.5 ){<br />
    this.advice('short')<br />
    console.log(iftResult);<br />
    traded = false;<br />
}<br />
}<br />
<br />
<br />
module.exports = method;</code></div></div>]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[How to retrieve candle size for strategy]]></title>
			<link>https://forum.gekko.wizb.it/thread-58002.html</link>
			<pubDate>Mon, 09 Sep 2019 23:02:09 +0000</pubDate>
			<guid isPermaLink="false">https://forum.gekko.wizb.it/thread-58002.html</guid>
			<description><![CDATA[I would like to make my strategies less depent on time intervals.<br />
EA a max price swing between 5 minutes is statistically smaller then with 60 minute candles.<br />
 <br />
So when i use constants in my math i'd like to scale them by a factor of candle size  ea :<br />
<br />
candlesize<br />
-------------   *   constant<br />
60<br />
<br />
How can  i retrieve  candlesize inside the strategy ?]]></description>
			<content:encoded><![CDATA[I would like to make my strategies less depent on time intervals.<br />
EA a max price swing between 5 minutes is statistically smaller then with 60 minute candles.<br />
 <br />
So when i use constants in my math i'd like to scale them by a factor of candle size  ea :<br />
<br />
candlesize<br />
-------------   *   constant<br />
60<br />
<br />
How can  i retrieve  candlesize inside the strategy ?]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[VmaPredict2.js (new)]]></title>
			<link>https://forum.gekko.wizb.it/thread-58001.html</link>
			<pubDate>Mon, 09 Sep 2019 16:02:38 +0000</pubDate>
			<guid isPermaLink="false">https://forum.gekko.wizb.it/thread-58001.html</guid>
			<description><![CDATA[Its a new strategy based upon volume prediction and moving averages.<br />
Still tweaking it around, it started with reasonable profit chances.<br />
Continous tweeking and I got to version 5 (and more), at which under the right settings high profits where made.  <br />
<br />
It can be found here <a href="https://github.com/PGTBoos/GekkoStrategies" target="_blank" rel="noopener" class="mycode_url">https://github.com/PGTBoos/GekkoStrategies</a> (where you find other strategies from me as well).<br />
<br />
By now the code base has grown large over 300 lines, while simple to maintain and to extend.<br />
You free to use or test it, however in return i'd like you to post the settings file (and what you where trading) in return here<br />
Let me now your tweaking results or code alterations, your highest scores.   <br />
Because i cannot code and test at the same time.<br />
<br />
Also I like to point out that it logs to console <br />
And the code base is realy handy to use as a template.<br />
Its a code template i will stick too <br />
<br />
A default TOML is included as well for every version.<br />
Once a version is made i dont extend it, some version behave different so you can get different results with each version.<br />
One might stick to a certain version, or use the latest version. (generally speaking later is often better).<br />
<br />
(the strategy may require a bit longer time I testedit  against 2 and 7 months)]]></description>
			<content:encoded><![CDATA[Its a new strategy based upon volume prediction and moving averages.<br />
Still tweaking it around, it started with reasonable profit chances.<br />
Continous tweeking and I got to version 5 (and more), at which under the right settings high profits where made.  <br />
<br />
It can be found here <a href="https://github.com/PGTBoos/GekkoStrategies" target="_blank" rel="noopener" class="mycode_url">https://github.com/PGTBoos/GekkoStrategies</a> (where you find other strategies from me as well).<br />
<br />
By now the code base has grown large over 300 lines, while simple to maintain and to extend.<br />
You free to use or test it, however in return i'd like you to post the settings file (and what you where trading) in return here<br />
Let me now your tweaking results or code alterations, your highest scores.   <br />
Because i cannot code and test at the same time.<br />
<br />
Also I like to point out that it logs to console <br />
And the code base is realy handy to use as a template.<br />
Its a code template i will stick too <br />
<br />
A default TOML is included as well for every version.<br />
Once a version is made i dont extend it, some version behave different so you can get different results with each version.<br />
One might stick to a certain version, or use the latest version. (generally speaking later is often better).<br />
<br />
(the strategy may require a bit longer time I testedit  against 2 and 7 months)]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[My idea -- I need your input on a simple/basic code]]></title>
			<link>https://forum.gekko.wizb.it/thread-57997.html</link>
			<pubDate>Tue, 03 Sep 2019 06:03:39 +0000</pubDate>
			<guid isPermaLink="false">https://forum.gekko.wizb.it/thread-57997.html</guid>
			<description><![CDATA[Hi all,<br />
<br />
I am active in the forums here, so I'm posting this as a last resort at not being able to find anything else.<br />
<br />
I am not much of a coder.  So my question is this:<br />
<br />
Is there a pre-existing strategy for this, or can someone provide be with basic code layout for a .js strategy and .toml config please?<br />
<br />
I simply need this as a building block.<br />
<br />
SO!<br />
<br />
I need to code a strategy that will sell at exactly 1.48% profit from last buy price on GDAX (coinbase pro).  After that sell, I need it to buy at -1.48% of the current price.  And so on, and so forth.<br />
<br />
Any ideas?]]></description>
			<content:encoded><![CDATA[Hi all,<br />
<br />
I am active in the forums here, so I'm posting this as a last resort at not being able to find anything else.<br />
<br />
I am not much of a coder.  So my question is this:<br />
<br />
Is there a pre-existing strategy for this, or can someone provide be with basic code layout for a .js strategy and .toml config please?<br />
<br />
I simply need this as a building block.<br />
<br />
SO!<br />
<br />
I need to code a strategy that will sell at exactly 1.48% profit from last buy price on GDAX (coinbase pro).  After that sell, I need it to buy at -1.48% of the current price.  And so on, and so forth.<br />
<br />
Any ideas?]]></content:encoded>
		</item>
	</channel>
</rss>