Skip to content

Commit

Permalink
IndicatorData: IndicatorDataEntryValue: Adds support for datetime type
Browse files Browse the repository at this point in the history
Indi_ColorCandlesDaily: Fixes infinite loop [GH-657]
  • Loading branch information
kenorb committed May 20, 2023
1 parent 5c9dcea commit 4abecd7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions IndicatorData.struct.h
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ struct IndicatorDataEntryValue {
Get(_v);
return _v;
}
void Get(datetime &_out) { _out = (datetime)value.vlong; }
void Get(double &_out) { _out = value.vdbl; }
void Get(float &_out) { _out = value.vflt; }
void Get(int &_out) { _out = value.vint; }
Expand Down

0 comments on commit 4abecd7

Please sign in to comment.