If you use a '1' or 'yes' here it will always show the label, Otherwise you define a condition or an input selection-value that evaluates to 'true' or 'false' and reference that condition statement here. else if price == low then "low" see an example under 'VERTICAL LINES (3 STUDIES)'. is the enum value. else if price == hlc3 then "hlc3" An example is: def SlowK = StochasticSlow( 80, 20, 10, 10, smoothingType = "SMA" ).SlowK; Here you have omitted the price parameters. By Krill at http://groups.yahoo.com/neo/groups/TOS_thinkscript/info. Comment 1: The stochastics indicator can be confusing because it is referred to as: 1. GetDayofWeek, GetDayofMonth, RegularTradingEnd and RegularTradingStart all utilize a yyyyMmDd input parameter format:The same output format as GetYYYYMMDD(). plot Vol = volume; If your answer was not 7, rethink it. Defines the price with which the standard deviation and distance are calculated. advnDecl = (advances - declines) / (advances + declines); Studies may be used within a fold. This nested-if reads as: If close is greater than the open then plot the close. The user may adjust the length of the channel as desired from within the settings panel. else if price == imp_volatility then "The price-variable selected is current imp_volatility = " + AsPercent(imp_volatility) The value of the index can be used in the do
usethinkscript regression channel
Share