×

Sign up and get MultiCharts free

Use its powerful simulation mode with data included out of the box. Just fill out the form and start honing your trading skills with a few clicks.

Changes - MultiCharts

Changes

Jump to navigation Jump to search

Atlant IfThenElse

110 bytes removed, 13:08, 14 October 2013
no edit summary
'''Signal ELA Code:'''
<syntaxhighlight>
IF AVERAGE(CLOSE,9) CROSSES ABOVE AVERAGE(CLOSE,19) THEN BEGIN BUY("LE#1") NEXT BAR CLOSE STOP;
BUY("LE#1") ON THE CLOSE;END ELSE BEGIN
{ELSE BUY("LE#2") NEXT BAR AT HIGHEST(HIGH,10) STOP;}
END;
IF AVERAGE(CLOSE,9) CROSSES BELOW AVERAGE(CLOSE,19) THEN BEGIN
SELL ("EL#1") NEXT BAR CLOSE STOP;
END ELSE BEGIN
SELL ("EL#2") NEXT BAR AT LOWEST(LOW,10) STOP;
 IF AVERAGE(CLOSE,9) CROSSES BELOW AVERAGE(CLOSE,19) THEN  EXITLONG("EL#1") ON THE CLOSEEND{  ELSE  EXITLONG("EL#2") NEXT BAR AT LOWEST(LOW,10) STOP; }
</syntaxhighlight>
'''Download:''' [http://www.multicharts.com/files/elafiles/ATLANT%20IFTHENELSE.ela ATLANT IFTHENELSE.ela]
 
 
'''File Includes:''' Signal - Atlant IfThenElse
[[Category:Signals]]

Navigation menu