change

Questions about MultiCharts and user contributed studies.
User avatar
Kostefan
Posts: 11
Joined: 09 Jan 2015

change

Postby Kostefan » 27 Jan 2015

change. Opening of the current bar is necessary.


inputs: Price( Close ), Length( 5 ), ConfirmBars( 1 ) ;
variables: var0( 0 ) ;

condition1 = Price < AverageFC( Price, Length ) ;
if condition1 then
var0 = var0 + 1
else
var0 = 0 ;

condition1 = CurrentBar > ConfirmBars and var0 = ConfirmBars ;
if condition1 then
sellshort ( "MACrossSE" ) next bar at Price limit;

Return to “MultiCharts”