top of page

Lower lows FTSE100 Daily

Updated: Jun 15, 2023

13 lines of code for the FTSE 100 index on the daily timeframe.



The code

defparam cumulateorders = false

entrycondition1 = low[1] < low[2] and low[1] < low[3] and low[1] < low[4] and low[1] < low[5] and low[1] < low[6]

entrycondition2 = close[0] < close[1] and (low[0] > low[1] or high[0] > high[1])

entrycondition3= close[0] < average[20]

IF entrycondition1 and entrycondition2 and entrycondition3 THEN
BUY 1 CONTRACTS AT MARKET
ENDIF

If LongOnMarket AND close[0] > close[1]THEN
SELL AT MARKET
ENDIF
169 views4 comments

Recent Posts

See All

4 Comments


This strategi works nice on Nasdaq 100 to, if the exit is changed to rsi and close is a above 200 moving avg

Like
ProRealAlgos
ProRealAlgos
Jun 22, 2022
Replying to

Great. Thanks for sharing Kenneth!

Like

Small add on with reinvestment of gains 😎 //PRA Signal FTSE Bounce 05062022

//Daily time frame

//Spread 1p

//https://www.youtube.com/watch?v=Lqo2bXwkWsc&ab_channel=ProRealAlgos

//Added reinvestment


defparam cumulateorders = false


//POSISTION SIZE

REINV = 1 // reinvestement 1 = yes, 0 = no

LEVER = 1 // number of contracts


IF REINV = 0 THEN

n = lever

ELSIF REINV = 1 THEN

capital = 1000 + strategyprofit

n = (capital / 1000)*lever

IF n < 1 THEN

n = 1

ENDIF

//n = round(n)

ENDIF


entrycondition1 = low[1] < low[2] and low[1] < low[3] and low[1] < low[4] and low[1] < low[5] and low[1] < low[6]

entrycondition2 = close[0] < close[1] and (low[0] > low[1] or high[0] > high[1])

entrycondition3 = close[0] < average[20]


If…


Like
ProRealAlgos
ProRealAlgos
Jun 15, 2022
Replying to

Thanks Herman!

Like
bottom of page