Prefs
|
Miscellaneous functions |
SYNTAX | Prefs( index ) |
RETURNS | NUMBER, STRING |
FUNCTION | Retrieves preferences setting. Allowed index values are: 0: FatLineChart; 1: MarkQuotations; 2: ChartVolumeType; 3: ShortTimeMA; 4: STMARange; 5: MidTimeMA; 6: MTMARange; 7: BollingerBands; 8: Pref.BBFactor; 9: ROC; 10: RSI; 11, 12, 13: MACD; 14: StochSlow; 15, 16, 17: Ultimate; 18: VolumeType; 19-22: /* reserved amiga only */ 23: AutoArrange; 24: LogChartScale; 25: MaxChartQuot; 26: TRIX; 27: LongTimeMA; 28: LTMARange; 29: VolMARange; 30: RelativeStrengthBase (string); 31: LimitSave; 32: LimitSaveRange; 33: CCI; 34: CCIAvg; 35: Tooltips; 36: MFI; 37, 38: Chaikin; 39: DataPath (string) 40: DataTooltips; 41: LoadAllWhenSelect; 42: PartialLoad; 43: PartialLoadQty; 44, 45: TRIN; 46: STMAType; 47: MTMAType; 48: LTMAType; 49: ADX; 50, 51: ParabolicSAR; 52: EnableMainChartSAR; 53: DefaultPriceStyle; 54: StockTreeMode; 55: TickerListMode; |
EXAMPLE | macd( prefs( 11 ), prefs( 12 ), prefs( 13 ) ); |
SEE ALSO |
The Prefs function is used in the following formulas in AFL on-line library:
See updated/extended version on-line.