Can anyone Create Alert for "Elder Force Index" Indicator?

Hi,

Could anyone please Create Alert for Pi ?

"Elder Force Index"

 

BUY SIGNAL : When the period crosses above '0' line. Wait for confirmation of First Candle. The Second Candle opens with the same direction BUY.

SELL SIGNAL : When the period crosses below '0' line. Wait for confirmation of First Candle. The Second Candle opens with the same direction SELL.


Thank you and awaiting for reply.

hElLO tRaDeR,

Elder's Force Index Formula : 

CurrentPeriodClose - (PreviousPeriod Close) X Volume = EFI
 13 Period Exponential Moving Average of EFI = EFI (13)

BUY SCRIPT:

SET EF = (CLOSE - REF(CLOSE,1)) * VOLUME
SET EFI = EMA(EF, 13)
REF(EFI,2) < 0 AND 
REF(EFI,1) > 0 AND
EFI > REF(EFI,1) 

SELL SCRIPT:

SET EF = (CLOSE - REF(CLOSE,1)) * VOLUME
SET EFI = EMA(EF, 13)
REF(EFI,2) > 0 AND 
REF(EFI,1) < 0 AND
EFI < REF(EFI,1) 

Thank you for your kind help.

1 Like

sir,
One more additions is required for previous alert. The details are as follows :
BUY SIGNAL :
When EFI crosses above the zero line AND
When Bears Power crosses above the zero line AND
When Bulls Power crosses above the zero line simultaneously.
If any of them mismatches i.e., EFI above the zero line, Bears Power above the zero line, But the Bulls Power is below the zero line vice versa … no signal should appear.
SELL SIGNAL as described the above. When all the EFI, Bulls Power, Bears Power crosses below the Zero Line.
Thanking you and awaiting for your code.

Sir getting error code

Hi udayasai , how to create on this platform?