Support Board
Date/Time: Fri, 22 Nov 2024 09:48:29 +0000
Post From: Custom study syntax help needed
[2013-04-27 01:13:03] |
User22396 - Posts: 191 |
would this work? if(sg.BaseDataIn[SC_HIGH][i-j]-sg.BaseDataIn[SC_OPEN][i-j]> sg.BaseDataIn[SC_OPEN][i-j]-sg.BaseDataIn[SC_LOW][i-j]) = sg.Subgraph[2]=sg.BaseDataIn[SC_OPEN][i-j]-sg.BaseDataIn[SC_LOW][i-j]; else sg.Subgraph[2]=sg.BaseDataIn[SC_HIGH][i-j]-sg.BaseDataIn[SC_OPEN][i-j]; |