Login Page - Create Account

Support Board


Date/Time: Fri, 19 Apr 2024 20:12:10 +0000



Post From: Writing Code

[2017-11-30 13:00:04]
User990040 - Posts: 6
I wrote some simple code. It's two parts.

Part 1 goes on my MACD: AND(CROSSFROMABOVE(ID3.SG3,0)) This works perfect.

Part 2 goes on my second indicator: AND(CROSSFROMABOVE(ID2.SG1,0)) This works perfect.

When I combine them it only works some of the time: I wrote the code two different ways.

Example 1: AND(CROSSFROMABOVE(ID3.SG3,0),CROSSFROMABOVE(ID2.SG1,0))

Example 2:AND(CROSSFROMABOVE(ID3.3,0),ID2.SG1<ID2.SG2)

What am I doing wrong? Thanks
Date Time Of Last Edit: 2017-12-16 00:48:35