Force Index System
From MultiCharts
Article/Author: Dr. Alexander Elder
Description: This strategy based on Force Index indicator
Function Force_Ind1 Code:
INPUTS: FORCE_I(NUMERICSERIES),LENGTH(NUMERICSIMPLE);
FORCE_IND1 = XAVERAGE(FORCE_I,LENGTH);
Signal Force_Index ELA Code:
INPUTS: LENGTH1(2),LENGTH2(13);
IF FORCE_IND1(VOLUME*(CLOSE - CLOSE[1]),LENGTH1) CROSSES BELOW
FORCE_IND1(VOLUME*(CLOSE - CLOSE[1]),LENGTH2) THEN SELL THIS BAR ON THE CLOSE;
IF FORCE_IND1(VOLUME*(CLOSE - CLOSE[1]),LENGTH1) CROSSES ABOVE
FORCE_IND1(VOLUME*(CLOSE - CLOSE[1]),LENGTH2) THEN BUY THIS BAR ON THE CLOSE;