Login Page - Create Account

Support Board


Date/Time: Sat, 04 May 2024 00:19:38 +0000



Post From: Colour Based on Alert Condition

[2022-04-17 08:36:56]
eatsleeptrade555 - Posts: 12
Thanks Tomgilb.

I would like to create a strategy and backtest it.

So I assume I would need to do the following

1) Create the strategy in Spreadsheet System for Trading
2) Go into Bar Based Back Testing


Context
Top band: ID2.SG1
Middle band: ID2.SG3
bottom band: ID2.SG2

Context
Price forms a bearish bar at the top band and I will like to short it. (reversal strategy)
So if price comes from bottom or middle and reaches "top band" and close with a bearish bar = short

I tried this
=IF(OR(CROSSFROMBELOW(L,ID2.SG1),CROSSFROMABOVE(H,ID2.SG3)),1,IF(CROSSFROMABOVE(L,ID2.SG1),CROSSFROMABOVE(H,ID2.SG1)),0)

And got ARGS