Different behaviour on true/false as vars on TS and MC plot1

Questions about MultiCharts and user contributed studies.
SP
Posts: 465
Joined: 06 Feb 2006
Has thanked: 36 times
Been thanked: 286 times

Different behaviour on true/false as vars on TS and MC plot1

Postby SP » 05 May 2011

This code plots on a TS Radarsscreen and it shows an error "Invalid function argument."
on MC.

Code: Select all

vars: IsAbove (false);

if c>= Average (c,20) then IsAbove = true else IsAbove = false;

Plot1 (IsAbove ,"Above");

Return to “MultiCharts”