conditions like this are not working
if(previous_buy==EMPTY_VALUE && current_buy!=EMPTY_VALUE)
{
// Slope change Up, you just enter a BUY AREA
}
if(previous_sell==EMPTY_VALUE && current_sell!=EMPTY_VALUE)
{
// Slope change Down, you just enter a SELL AREA
}
////////////////////////////////////////////////////////////////////they are working like this:if(previous_buy<current_buy)
{
// Slope change Up, you just enter a BUY AREA
}
if(previous_sell>current_sell)
{
// Slope change Down, you just enter a SELL AREA
}
Is this still correct? it seems both working good this way...
Is this still correct? it seems both working good this way...