Login Page - Create Account

Support Board


Date/Time: Wed, 15 May 2024 15:00:17 +0000



Post From: Enable/Disable Auto Trade using ATR

[2016-09-04 02:12:35]
Litz - Posts: 131
I currently use =OR(J41-INT(J41)<TIMEVALUE("07:30:00"),J41-INT(J41) >TIMEVALUE("16:00:00")) to disable Auto Trade during off hours and wish to add ATR as an additional parameter to the formula whereby Auto Trade would be activated only during high volatile periods as determined by ATR.

ATR is ID 10.SG1 with 1.2 the current level to be exceeded to enable Auto Trade and 1.4 the level to disable Auto Trade

I tried this: =OR(J41-INT(J41)<TIMEVALUE("07:30:00"),J41-INT(J41) >TIMEVALUE("16:00:00")),AND(ID10.SG1@4>[1.2],ID10.SG@3<[1.2]),(ID10@5<[1.4],ID10@4>[1.4])) but get a #SYNTAX error.

The idea is to disable Auto Trading in chop zones which seems to eat away at profits. Just a theory don't know if it will work.
Date Time Of Last Edit: 2016-09-04 02:19:22