VmaPredict2.js (new)
#18
(09-11-2019, 04:57 PM)PGTART Wrote: Wow, that's an amazing result ... I wouldn't think such high results where possible by tweaking alone.
Writing code is one thing, but finding optimal settings for it is also an art, for strategies
curiously that it doesn't trade for a long time from feb to may.
please share the used settings, so we can improve it more.

oh BTW version 5 has a small protection against continous repeated stoplosses (draining the wallet) but not sure how well it behaves
the stoploss wont trigger another one after a price goes up for a brief moment (3 candles) => i can make 3 a toml setting too.
but i'm not so sure how often it happens... and maybe other tricks should be tought off (watch the console when loosing money if you have an insight let me know).

Also, version 6 will be released, I think tomorrow.
As I also uploaded the candlestick trader, version 6 will have knowledge of candles as well !!    (usable inside the code!! to optimize logic)
It is able to detect some candle types Hangman, Hammer, ShootingStar
As I think those are the most useful (but I can add more if you people want).
It keeps a record of the past last 10 known stick names if any was found.

BTW the trading logic is around line 150 the line that reads
   check: function (candle) {
The    if (! this.Gotcoins )          "!" means not in coding so thus there it start the buy logic if we have no coins between {   }. The else {  } after it sells.

Maybe if you observe those rules (where Swingxxxx stands for TOML input variables), you might get ideas of how to use candle logic with it.
I'm open for suggestions

the settings that I'm using for the TOML are:

[Swings]

Magica = 325
MediumOut = 280
ShortSight = 400
MaxPeekPred = 580

[ForcastTrend]
Short =  6 
Medium = 17
Long = 100   #nan

[PeriodAverage]
Short = 6 
Medium = 25   
Long = 100    #nan

[VolumePeriodAverage]   
Short  = 6    #nan
Medium = 30  
Long   = 100  #nan


Using 1 hour candles with 30 for warmup.
  Reply


Messages In This Thread
VmaPredict2.js (new) - by PGTART - 09-09-2019, 04:02 PM
RE: VmaPredict2.js (new) - by anon.e.mous - 09-09-2019, 04:34 PM
RE: VmaPredict2.js (new) - by PGTART - 09-09-2019, 10:46 PM
RE: VmaPredict2.js (new) - by anon.e.mous - 09-10-2019, 09:25 AM
RE: VmaPredict2.js (new) - by PGTART - 09-10-2019, 01:59 PM
RE: VmaPredict2.js (new) - by anon.e.mous - 09-10-2019, 02:13 PM
RE: VmaPredict2.js (new) - by anon.e.mous - 09-10-2019, 02:48 PM
RE: VmaPredict2.js (new) - by PGTART - 09-10-2019, 02:48 PM
RE: VmaPredict2.js (new) - by anon.e.mous - 09-10-2019, 03:30 PM
RE: VmaPredict2.js (new) - by PGTART - 09-10-2019, 03:18 PM
RE: VmaPredict2.js (new) - by PGTART - 09-10-2019, 06:21 PM
RE: VmaPredict2.js (new) - by Jupiterix - 09-11-2019, 07:45 AM
RE: VmaPredict2.js (new) - by PGTART - 09-11-2019, 09:50 AM
RE: VmaPredict2.js (new) - by anon.e.mous - 09-11-2019, 09:48 AM
RE: VmaPredict2.js (new) - by anon.e.mous - 09-11-2019, 12:04 PM
RE: VmaPredict2.js (new) - by anon.e.mous - 09-11-2019, 12:47 PM
RE: VmaPredict2.js (new) - by PGTART - 09-11-2019, 04:57 PM
RE: VmaPredict2.js (new) - by anon.e.mous - 09-12-2019, 08:55 AM
RE: VmaPredict2.js (new) - by PGTART - 09-15-2019, 01:14 PM
RE: VmaPredict2.js (new) - by anon.e.mous - 09-16-2019, 12:43 PM
RE: VmaPredict2.js (new) - by PGTART - 09-16-2019, 01:06 PM
RE: VmaPredict2.js (new) - by anon.e.mous - 09-16-2019, 01:18 PM
RE: VmaPredict2.js (new) - by anon.e.mous - 09-16-2019, 01:57 PM
RE: VmaPredict2.js (new) - by PGTART - 09-16-2019, 04:35 PM
RE: VmaPredict2.js (new) - by anon.e.mous - 09-17-2019, 08:03 AM
RE: VmaPredict2.js (new) - by Stixx - 09-16-2019, 05:26 PM
RE: VmaPredict2.js (new) - by PGTART - 09-16-2019, 05:35 PM
RE: VmaPredict2.js (new) - by QueefWellington - 09-16-2019, 05:48 PM
RE: VmaPredict2.js (new) - by PGTART - 09-16-2019, 06:04 PM
RE: VmaPredict2.js (new) - by QueefWellington - 09-16-2019, 06:08 PM
RE: VmaPredict2.js (new) - by PGTART - 09-16-2019, 06:30 PM
RE: VmaPredict2.js (new) - by QueefWellington - 09-16-2019, 06:35 PM
RE: VmaPredict2.js (new) - by PGTART - 09-17-2019, 02:01 PM
RE: VmaPredict2.js (new) - by QueefWellington - 09-17-2019, 07:12 PM
RE: VmaPredict2.js (new) - by PGTART - 09-17-2019, 08:11 PM
RE: VmaPredict2.js (new) - by QueefWellington - 09-17-2019, 08:30 PM
RE: VmaPredict2.js (new) - by PGTART - 09-17-2019, 08:56 PM
RE: VmaPredict2.js (new) - by ortu - 09-20-2019, 08:35 AM
RE: VmaPredict2.js (new) - by PGTART - 09-20-2019, 11:26 AM
RE: VmaPredict2.js (new) - by trackers - 09-22-2019, 07:45 AM
RE: VmaPredict2.js (new) - by PGTART - 09-22-2019, 07:39 PM
RE: VmaPredict2.js (new) - by Dieguz - 09-23-2019, 08:29 AM
RE: VmaPredict2.js (new) - by Dieguz - 09-23-2019, 09:19 PM
RE: VmaPredict2.js (new) - by PGTART - 09-22-2019, 01:33 PM
RE: VmaPredict2.js (new) - by PGTART - 09-24-2019, 05:04 AM
RE: VmaPredict2.js (new) - by Dieguz - 09-24-2019, 07:41 AM
RE: VmaPredict2.js (new) - by PGTART - 09-28-2019, 02:48 PM
RE: VmaPredict2.js (new) - by ILoveLeverage - 09-29-2019, 01:23 PM
RE: VmaPredict2.js (new) - by Dieguz - 09-29-2019, 05:06 PM
RE: VmaPredict2.js (new) - by PGTART - 09-30-2019, 10:42 AM
RE: VmaPredict2.js (new) - by Zid - 09-30-2019, 08:55 AM
RE: VmaPredict2.js (new) - by PGTART - 09-30-2019, 05:24 PM
RE: VmaPredict2.js (new) - by ILoveLeverage - 09-30-2019, 06:28 PM
RE: VmaPredict2.js (new) - by PGTART - 09-30-2019, 10:20 PM
RE: VmaPredict2.js (new) - by Dieguz - 10-07-2019, 08:15 AM
RE: VmaPredict2.js (new) - by PGTART - 10-08-2019, 09:37 PM
RE: VmaPredict2.js (new) - by mauroprojetos - 10-11-2019, 04:32 PM
RE: VmaPredict2.js (new) - by mauroprojetos - 10-12-2019, 01:06 AM
RE: VmaPredict2.js (new) - by Zid - 10-12-2019, 05:13 AM
RE: VmaPredict2.js (new) - by mauroprojetos - 10-12-2019, 02:04 PM
RE: VmaPredict2.js (new) - by PGTART - 10-12-2019, 06:33 PM
RE: VmaPredict2.js (new) - by mauroprojetos - 10-13-2019, 01:43 PM
RE: VmaPredict2.js (new) - by PGTART - 10-13-2019, 06:41 PM
RE: VmaPredict2.js (new) - by Dieguz - 10-14-2019, 08:38 PM
RE: VmaPredict2.js (new) - by PGTART - 10-16-2019, 08:50 PM
RE: VmaPredict2.js (new) - by Dieguz - 10-17-2019, 12:01 PM
RE: VmaPredict2.js (new) - by PGTART - 10-17-2019, 08:58 PM
RE: VmaPredict2.js (new) - by PGTART - 10-18-2019, 06:14 PM
RE: VmaPredict2.js (new) - by owk - 01-02-2020, 06:30 PM
RE: VmaPredict2.js (new) - by owk - 01-03-2020, 03:43 PM
RE: VmaPredict2.js (new) - by PGTART - 01-15-2020, 12:04 PM
RE: VmaPredict2.js (new) - by lipnel - 02-05-2020, 08:36 AM
RE: VmaPredict2.js (new) - by PGTART - 02-22-2020, 12:04 PM
RE: VmaPredict2.js (new) - by Stixx - 02-22-2020, 01:26 PM
RE: VmaPredict2.js (new) - by PGTART - 02-23-2020, 02:37 AM
RE: VmaPredict2.js (new) - by Stixx - 02-24-2020, 04:42 PM
RE: VmaPredict2.js (new) - by PGTART - 02-24-2020, 06:29 PM
RE: VmaPredict2.js (new) - by PGTART - 02-26-2020, 10:21 PM
RE: VmaPredict2.js (new) - by Stixx - 02-26-2020, 11:11 PM
RE: VmaPredict2.js (new) - by Stixx - 02-27-2020, 04:13 PM
RE: VmaPredict2.js (new) - by PGTART - 02-27-2020, 05:42 PM
RE: VmaPredict2.js (new) - by Stixx - 02-28-2020, 10:27 AM
RE: VmaPredict2.js (new) - by Stixx - 04-05-2020, 09:03 AM
WW - by mtom78632 - 07-18-2021, 11:08 AM
mtom - by mtom78632 - 07-31-2021, 05:47 AM
RE: VmaPredict2.js (new) - by mtom78632 - 07-31-2021, 11:18 AM
RE: VmaPredict2.js (new) - by mtom78632 - 09-23-2021, 01:37 PM
RE: VmaPredict2.js (new) - by mtom78632 - 10-04-2021, 01:58 PM

Forum Jump:


Users browsing this thread: