Skip to content

Commit

Permalink
Indi_ADXW: Fixes logic for SetCustomIndicatorName()
Browse files Browse the repository at this point in the history
  • Loading branch information
kenorb committed Jun 23, 2023
1 parent 294eeff commit 4c26b6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Indicators/Indi_ADXW.mqh
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ struct IndiADXWParams : IndiADXParams {
IndiADXWParams(int _period = 14, ENUM_APPLIED_PRICE _ap = PRICE_TYPICAL, int _shift = 0)
: IndiADXParams(_period, _ap, _shift) {
itype = itype == INDI_NONE || itype == INDI_ADX ? INDI_ADXW : itype;
if (custom_indi_name == "") {
if (custom_indi_name == "" || custom_indi_name == "Examples\\ADX") {
SetCustomIndicatorName("Examples\\ADXW");
}
};
Expand Down

0 comments on commit 4c26b6c

Please sign in to comment.