Skip to content

Commit

Permalink
Indicators: Indi_MACD: Sets IDATA_RANGE_RANGE
Browse files Browse the repository at this point in the history
  • Loading branch information
kenorb committed Jul 5, 2021
1 parent e0f05b9 commit 3b6cbfb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Indicators/Indi_MACD.mqh
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ struct MACDParams : IndicatorParams {
max_modes = FINAL_SIGNAL_LINE_ENTRY;
shift = _shift;
SetDataValueType(TYPE_DOUBLE);
SetDataValueRange(IDATA_RANGE_PRICE);
SetDataValueRange(IDATA_RANGE_RANGE);
SetCustomIndicatorName("Examples\\MACD");
};
void MACDParams(MACDParams &_params, ENUM_TIMEFRAMES _tf = PERIOD_CURRENT) {
Expand Down

0 comments on commit 3b6cbfb

Please sign in to comment.