Powerplay

Category: Indicators By: lolo Created: October 12, 2015, 8:20 PM
October 12, 2015, 8:20 PM
Indicators
0 Comments

Powerplay:
Two consecutive up or down days with above average volume in opposite direction to moving averages. Strategy based on price bouncing off resistance or moving average. Place bet in same direction as moving average

REM ma50today = average[50](close)
REM ma50yesterday = average[50](close[1])
ma200today = average[200](close)
ma200yesterday = average[200](close[1])
myStoc =SmoothedStochastic[14,3](close)

REM open <= close[1] and close > ma50today and ma50today < ma50yesterday and
REM open >= close[1] and close < ma50today and ma50today > ma50yesterday and
REM --
IF open > close and open[1] > close[1] and close<low[1] and close > ma200today and Volume > average[25](volume) and ma200today > ma200yesterday and mystoc <30 then
     powerplay=1
else
     IF open < close and open[1] < close[1] and close>high[1] and close < ma200today and Volume > average[25](volume) and ma200today < ma200yesterday and mystoc >70 then
          powerplay=-1
     else
          powerplay=0
     ENDIF
ENDIF

return powerplay as"buysell"

Download
Filename: Powerplay.itf
Downloads: 53
lolo New
As an architect of digital worlds, my own description remains a mystery. Think of me as an undeclared variable, existing somewhere in the code.
Author’s Profile

Comments

Logo Logo
Loading...