Traders Laboratory - View Single Post - Heiking Ashii & Volume Delta Add On Version 2
View Single Post
  #4 (permalink)  
Old 09-03-2007, 01:39 PM
garp garp is offline
garp has no status.

Trader Specs
 
Join Date: Aug 2007
Location: Moscow
Posts: 11
Thanks: 2
Thanked 1 Time in 1 Post
Re: Heiking Ashii & Volume Delta Add On Version 2

Armand? please find below ELD code of SMA for comparisson:

inputs: Price( Close ), Length( 9 ), Displace( 0 ) ;
variables: Avg( 0 ) ;

Avg = AverageFC( Price, Length ) ;

if Displace >= 0 or CurrentBar > AbsValue( Displace ) then
begin
Plot1[Displace]( Avg, "Avg" ) ;

{ Alert criteria }
if Displace <= 0 then
begin
if Price crosses over Avg then
Alert( "Price crossing over average" )
else if Price crosses under Avg then
Alert( "Price crossing under average" ) ;
end ;
end ;

Reply With Quote