Momentum (close minus close 10 bars ago) Experimental
EasyLanguage → Cuprel · converter easylanguage 0.1.0 · converted · 3 lines out
Source (EasyLanguage)
Plot1(Close - Close[10], "Momentum");
Converted (Cuprel)
indicator("Converted indicator", edition = 1, overlay = false)
plot((close - close[10]), name = "Momentum")
Known differences
- where an indicator is drawn (the price chart or its own pane) and its plot styles are settings of the platform, not part of the text: the converted indicator is drawn in its own pane with the default style
- the converted indicator has no title in the text: it is called "Converted indicator" (rename it in the editor)
- the platform starts evaluating only after a number of bars it chooses (a setting outside the text) and commits a variable only at the close of a bar; the converted indicator follows the product language, so the first bars of the history and the forming bar can differ
- the dialect was not declared: the TradeStation form was assumed (the MultiCharts form is not translated in phase 1)
Experimental means: the converter reads a thin, tested slice, adds warnings, and says no when it is unsure. Run the converted program on your own data before relying on it.
Open in the converter EasyLanguage → Cuprel route All examples