I would like the cci to change to 20 when i trade timeframes > 60 min. I have made a code, but its not working. What am i doing wrong?
Announcement
Collapse
No announcement yet.
Different timeframes
Collapse
X
-
Hello finnhan,
You just need to make a small change. Since you have assigned the charts interval to "vInterval," it already contains the interval number you need for your condition. Your condition could be written to call getInterval() directly,
... or you could reference vInterval within the condition.
Referencing vInterval.getInterval() is not valid syntax.Jason K.
Project Manager
eSignal - an Interactive Data company
EFS KnowledgeBase
JavaScript for EFS Video Series
EFS Beginner Tutorial Series
EFS Glossary
Custom EFS Development Policy
New User Orientation
-
You're most welcome.Jason K.
Project Manager
eSignal - an Interactive Data company
EFS KnowledgeBase
JavaScript for EFS Video Series
EFS Beginner Tutorial Series
EFS Glossary
Custom EFS Development Policy
New User Orientation
Comment
Comment