09-17-2019, 08:03 AM
(09-16-2019, 04:35 PM)PGTART Wrote: I think for shorter time ranges
The red values are based on trade profits losses so those might require to be a bit smaller :
The green values are used in averaging, so say 20 minute trades, if one does the averages x3 (then they still contain a hour of data).
It should be possible i think there is nothing limiting this math not to work on other time ranges.
And if it works for one range it should thus also work on another range (math is universal), but it will have different tweak settings.
ea Magica moments might be a bit smaller because in smaller timeranges the gain profit (per candle) is statistically smaller as compared to one hour profit (however since more candle's pass by there is a chance to take more opertunities in the 5 min range).
sorry for my typo of using # instead of // on top of the js file (misstake used toml style comment).
TOML:
[Swings] # where is store my own constants
# magica = used in long buy price dips
# mediumout = used in short sell
# shortsight = used in short sell
Magica = 325
MediumOut = 280
ShortSight = 400
# downhill = short after price drop since highest
# highshot = short after price jump 2 new candles
# bullseye = secure profit since bought
# daystop = max los stops trade till next day
DownHill = 250
HighShot = 290
BullsEye = 1000
DayStop = 300
[ForcastTrend]
#forcast trend tulip indicator
Short = 6
Medium = 12
Long = 100 #nan
[PeriodAverage]
#moving averages
Short = 6
Medium = 25
Long = 100
[VolumePeriodAverage]
#volume moving averages
Short = 6 #not used
Medium = 30
Long = 100 #not used
This resulted in
simulated profit: 258.50833%
When market was 172.74404%
I was trying to test with smaller candles (1 and 5 min) but never found a way to have a positive result. Need to test more.
I know the values must be smaller. The TOML configurations that I've posted are for 1 hour candles only. But since this variables are based in value and not in percentage it is difficult to find the sweet spot.