Login Page - Create Account

Support Board


Date/Time: Mon, 24 Feb 2025 18:40:59 +0000



Post From: Steps To Create a Trading System for Automated Trading

[2021-03-17 19:58:53]
Sawtooth - Posts: 4174
CROSSFROMBELOW would be used in cell K3 for a buy entry.
CROSSFROMABOVE would be used in cell M3 for a sell entry.

K3:
=AND(CROSSFROMBELOW( ID0.SG4@3:ID0.SG4@4, ID2.SG1@3:ID2.SG1@4), $J$8=0)
M3:
=AND(CROSSFROMABOVE( ID0.SG4@3:ID0.SG4@4, ID2.SG1@3:ID2.SG1@4), $J$8=0)
These formulas assume the moving average is ID2.

You can use these shortened versions instead:
K3:
=AND(CROSSFROMBELOW( E3:E4, ID2.SG1@3:ID2.SG1@4), $J$8=0)
M3:
=AND(CROSSFROMABOVE( E3:E4, ID2.SG1@3:ID2.SG1@4), $J$8=0)
These formulas assume the moving average is ID2.