Is it possible to draw several times the same indicator (with different parameters) in a sub-window in Esignal new version ?
Announcement
Collapse
No announcement yet.
indicators in same window
Collapse
X
-
pbereau
The easiest way is probably as shown in the example below. All you need to do is add function preMain() with the appropriate statements to color the different plots, etc
Alex
PHP Code:function main(){
var x = rsi(10);
var y = rsi(20);
var z = rsi(30);
return new Array (x,y,z);
}
Comment
-
pbereau
That is exactly what I just did in my prior reply. All you need to change is the values for the lengths of the RSI studies.
If you want to make those user definable through Edit Studies then use the RSI study that is in the EFS2 Custom subfolder of Formulas as an example. Also see this article in the EFS KnowledgeBase on Function Parameter class.
Alex
Comment
Comment