Download - Tradesignal

Transcript
::
www.tradesignal.com
COMPARISONS BETWEEN SEVERAL VALUES THROUGH COMBINATION
//No subchart Meta: Subchart( false ); //Declare variables Variables: myFirstVar, mySecondVar, myThirdVar; //Combining two comparisons with the AND operator If isLastBar Then Begin If ( myFirstVar = mySecondVar ) AND ( myFirstVar = myThirdVar ) Then Print( "Hello World" ); //Data is output if both comparisons are true End; //Combining two comparisons with the OR operator If isLastBar Then Begin If ( myFirstVar = mySecondVar ) OR ( myFirstVar = myThirdVar ) Then Print( "Hello World" ); //Data is output if one comparison or both //are true End; //Combining two comparisons with the XOR operator If isLastBar Then Begin If ( myFirstVar = mySecondVar ) XOR ( myFirstVar = myThirdVar ) Then Print( "Hello World" ); //Data is output if one comparison is true //but not both End; FINDING CROSSING TIME SERIES
One of the most important problems in indicators and strategies is the search for intersections between prices and averages,
indicators and alert lines etc. Tradesignal offers several functions for this task.
//No subchart Meta: Subchart( false ); Tradesignal GmbH
Page 318
Version 7.0