Update SuperTrendIndicatorBase to remove confidence level from signal generation
- Changed the confidence level parameter in AddSignal method calls from Medium to None for both long and short signals in SuperTrendIndicatorBase class. - This adjustment aims to simplify signal generation logic and may impact trading strategy evaluations.
This commit is contained in:
@@ -101,11 +101,11 @@ public class SuperTrendIndicatorBase : IndicatorBase
|
||||
{
|
||||
if (currentCandle.SuperTrend < currentCandle.Close)
|
||||
{
|
||||
AddSignal(currentCandle, TradeDirection.Long, Confidence.Medium);
|
||||
AddSignal(currentCandle, TradeDirection.Long, Confidence.None);
|
||||
}
|
||||
else if (currentCandle.SuperTrend > currentCandle.Close)
|
||||
{
|
||||
AddSignal(currentCandle, TradeDirection.Short, Confidence.Medium);
|
||||
AddSignal(currentCandle, TradeDirection.Short, Confidence.None);
|
||||
}
|
||||
|
||||
previousCandle = currentCandle;
|
||||
|
||||
Reference in New Issue
Block a user