DING wrote:I wonder the beast was based on counter trend strategy that how to combine trend indicator to cowork,
Yes, it was.
How will you set the slope fillter to trading? :
This is why I included the option to turn it off for counter-trend trading. A move to the lowest line signals a ct buy, so Slope is unlikely to be >= 0.4 by then; we shall have to see.
I assume Slope will be most useful when trading the white box, trading the exit of the box in the direction indicated by Slope.
All this is experimental and may come to nothing. We shall have to see.
Read the effing manual, ok?
Afterprime is the official SHF broker. Read about them at https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?p=175790#p175790.
I still suffer from OCCD. Good thing, really.
Anyone here feeling generous? My paypal account is always in the market for a tiny donation. pianodoodler@hotmail.com is the account.
To see The Weekly Roundup of stuff you guys might have missed Click here
My special thanks to Thomas (tomele) for all the incredible work he does here.
I saw why SB had placed a sell stop when Slope was buy and hold, and a sell stop when sell and hold, as soon as I looked at the code. It was a logic bloop. Those of you who can, simply copy/paste this over the top of the existing function:
bool CheckSlope(int type)
{
//Called from any point in the code that is about to send a trade, and cancels the trade if Slope does not agree
if (HtfTimeFrame == 0 && LtfTimeFrame == 0) return(true);//Slope not being used
if (type == OP_BUY)
{
if (HtfTimeFrame > 0 && (HtfSlopeTrend != buyonly && HtfSlopeTrend != buyhold)) return(false);
if (LtfTimeFrame > 0 && (LtfSlopeTrend != buyonly && LtfSlopeTrend != buyhold)) return(false);
}//if (type == OP_BUY)
if (type == OP_SELL)
{
if (HtfTimeFrame > 0 && (HtfSlopeTrend != sellonly && HtfSlopeTrend != sellhold)) return(false);
if (LtfTimeFrame > 0 && (LtfSlopeTrend != sellonly && LtfSlopeTrend != sellhold)) return(false);
}//if (type == OP_BUY)
//Got this far, so Slope must be ok
return(true);
}//bool CheckSlope(int typ
Also change the version variable to 1a at the top of the file.
Read the effing manual, ok?
Afterprime is the official SHF broker. Read about them at https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?p=175790#p175790.
I still suffer from OCCD. Good thing, really.
Anyone here feeling generous? My paypal account is always in the market for a tiny donation. pianodoodler@hotmail.com is the account.
To see The Weekly Roundup of stuff you guys might have missed Click here
My special thanks to Thomas (tomele) for all the incredible work he does here.