[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [GT] Input validation in Tools.pm



João Costa wrote:
You need to put something in DB::timeframes_available which GT won't
recognize to reproduce this.
Try :
-------------------------------------------------------------------
DB::timeframes_available 30sec,day
-------------------------------------------------------------------

Then ask for some intraday data larger than 30 seconds, ie:
-------------------------------------------------------------------
display_indicator.pl --timeframe=hour I:Prices EURUSD
-------------------------------------------------------------------

All my patch does is to make sure that the timeframe names the user created
in the config file are valid,
and if they are not, give the user a list of possible valid names.


I'm using the code in trunk, not any of the exp branches.


d'oh

i musta been looking at it upside down and in a mirror -- now what
you've done actually makes sense ...


aloha

ras