04-25-2018, 12:59 AM
hi
I had also tried indicator based stoplosses but the result was:
it would loose only half the bag for a huge stepdown.
Also noticed that additional stoplosses would be good somehow if they all are set somewhat sloppy.
Halve the bag is much better then the full bag AND...
...without stoploss...say a simple RSI strategie, would keep the bag to the bottom.
BUT THEN it must first rise up to the upper RSI threshold in order to sell the bagbefore it can buy again.
That looses one additional trade (buy/sell). Makes two messed up trades without pseudo stoploss.
I also tried using delays but no beneficial results.
while and after the stoploss i also block the rsi like you do thats good.
Then for unlock i use a additional RSI threshold:
This creates a more dynamique behaviour rather than a blind counter that could miss lot of things.
In the newest version i enhanced this.function by using a seperat RSI for the unlock mechanism and-
i added two thresholds:
say after a massive stepup my strat has ride up and sold at the top.
now my stepup trend logic is finished but the signal is still high so i leave the RSI locked.
To unlock, first the unlockRSI must reach the lower thershold and set another boolean.
now it must reach the higher treshold for unlocking the RSI trader.
//this.resetrsi == signal
//this.rsireset.lo == treshold low...
This works nice and compared with the one threshold solution it creates a directional selection.
For the stoploss itself i found that ALL indicators are based on averaging candle data.
This makes the detection of movement very slow since every new value must fight aginst the past that is no longer true.
Its because of the wild nature of the signals would create so many errors.
to get rid of this.problem i designed my own trendline indicator that works exactly the other way around:
it does the averaging for the trend vectors (support/resistance) BUT the signals for stop/hype are realtime candle.data.
Thats rather neat and it works ;-)
see my other reply:
i developed my own indicator where the RSI trades on the usual trend but for the "super trend" i added a stoploss and a hypetrend-sell-lock.
My macrotrend indicator then begins to sample the lows/highs and if they become valide i back them up into the averaging array.
After that i can calculate the step size to the last low/high in order to calculate the vectors to the present candle.
Theese vectors then have the same angle until a new hi/lo has been backuped/averaged and the vector angle will change.
Backtest results. same strat/settings
please dont mind the comments. its commented for a frind
https://imgur.com/a/JAm5dz3
https://imgur.com/a/jlow72W
https://imgur.com/a/UHiKtlU
https://imgur.com/a/KuGOrWS
From the support vector i can set a % below or above (user.setttings) for calculate the stopvector.
the same for the resistance vector.
the signal that engage the trends and also the signals for the vectors can be choosen:
candle.close
candle.hi
candle.low
candle.vwp (volume wightet price)
candle.myEXPOwhatEvercalculusCurve...hehe
the logic is very simple its only a stoploss and a hype trend but:
if gekko is short and a stepdown occurs, the RSI would buy much to early.
Therefor the stoploss kicks in only to inhibit the RSI from trading.
if gekko is short when a stepup occurs then it instantly trys to buy in and shift over the top before sell.
Its a short term strategie that makes alot of trades but if it goes bearish its beneficial to sell at profit and not keep that hot patatoe.hehe
Tryed to make it even better but it just hurts the basic function when tested over 4/3/2/1month
sometimes a improvement tested over 21days does not work well for 4/3/2/1month
I had also tried indicator based stoplosses but the result was:
it would loose only half the bag for a huge stepdown.
Also noticed that additional stoplosses would be good somehow if they all are set somewhat sloppy.
Halve the bag is much better then the full bag AND...
...without stoploss...say a simple RSI strategie, would keep the bag to the bottom.
BUT THEN it must first rise up to the upper RSI threshold in order to sell the bagbefore it can buy again.
That looses one additional trade (buy/sell). Makes two messed up trades without pseudo stoploss.
I also tried using delays but no beneficial results.
while and after the stoploss i also block the rsi like you do thats good.
Then for unlock i use a additional RSI threshold:
Code:
if (this.myrsi > this.settings.RSI.myunlockthreshold && this.lockrsitrader !== false){
this.lockrsitrader = false;
}
In the newest version i enhanced this.function by using a seperat RSI for the unlock mechanism and-
i added two thresholds:
say after a massive stepup my strat has ride up and sold at the top.
now my stepup trend logic is finished but the signal is still high so i leave the RSI locked.
To unlock, first the unlockRSI must reach the lower thershold and set another boolean.
now it must reach the higher treshold for unlocking the RSI trader.
Code:
if (this.logic.lockwait !== false)
{
if (this.rsireset.lo > this.resetrsi && this.logic.lock !== false)
{
this.logic.lock = false;
}
if (this.rsireset.hi < this.resetrsi && this.logic.lock !== true)
{
this.logic.lockwait = false;
this.logic.akku = true;
this.macroReset();
this.macrotrend.directionlast = this.macrotrend.direction;
this.macrotrend.direction = 'akku';
}
}
//this.rsireset.lo == treshold low...
This works nice and compared with the one threshold solution it creates a directional selection.
For the stoploss itself i found that ALL indicators are based on averaging candle data.
This makes the detection of movement very slow since every new value must fight aginst the past that is no longer true.
Its because of the wild nature of the signals would create so many errors.
to get rid of this.problem i designed my own trendline indicator that works exactly the other way around:
it does the averaging for the trend vectors (support/resistance) BUT the signals for stop/hype are realtime candle.data.
Thats rather neat and it works ;-)
see my other reply:
i developed my own indicator where the RSI trades on the usual trend but for the "super trend" i added a stoploss and a hypetrend-sell-lock.
My macrotrend indicator then begins to sample the lows/highs and if they become valide i back them up into the averaging array.
After that i can calculate the step size to the last low/high in order to calculate the vectors to the present candle.
Theese vectors then have the same angle until a new hi/lo has been backuped/averaged and the vector angle will change.
Backtest results. same strat/settings
please dont mind the comments. its commented for a frind
https://imgur.com/a/JAm5dz3
https://imgur.com/a/jlow72W
https://imgur.com/a/UHiKtlU
https://imgur.com/a/KuGOrWS
From the support vector i can set a % below or above (user.setttings) for calculate the stopvector.
the same for the resistance vector.
the signal that engage the trends and also the signals for the vectors can be choosen:
candle.close
candle.hi
candle.low
candle.vwp (volume wightet price)
candle.myEXPOwhatEvercalculusCurve...hehe
the logic is very simple its only a stoploss and a hype trend but:
if gekko is short and a stepdown occurs, the RSI would buy much to early.
Therefor the stoploss kicks in only to inhibit the RSI from trading.
if gekko is short when a stepup occurs then it instantly trys to buy in and shift over the top before sell.
Its a short term strategie that makes alot of trades but if it goes bearish its beneficial to sell at profit and not keep that hot patatoe.hehe
Tryed to make it even better but it just hurts the basic function when tested over 4/3/2/1month
sometimes a improvement tested over 21days does not work well for 4/3/2/1month