I had someone make a formula on 7.5 and it opens on his 7.5 . But it wont open on my 7.4 .It keeps saying syntax error and the dialoge box is empty? Is there a conflict on the 2 version or any suggestions on where to start my trouble shooting?
Announcement
Collapse
No announcement yet.
7.4 and 7.5
Collapse
X
-
Hello watchdaride,
If you post your formula I will test it on my end. Is the dialog box you refer to the Formula Output Window under the Tools --> EFS menu? What happens if you open the formula in the EFS editor and click the Syntax Checker? Any information appear in the Formula Output Window?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
-
Hello watchdaride,
I've tested this on 7.4 build 608 and didn't get any errors. What symbol, interval and time template are you using? Can you post a chart image of what is happening on your end?
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
-
Hello watchdaride,
I believe that DLL is part of the DynaOrder program. If you comment out lines 5 and 12 it should work for you. Just put two forward slashes // in front of those lines or delete them.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
-
Hello watchdaride,
I noticed that the value you use to adjust the space between the bars your arrows are set to a fixed value of 0.1. On the EUR A0-FX, 0.1 is a significant percentage of the symbols price of apx 1.17. Your formula is working. You just can't see the arrows because they are being drawn too far above or below your bars.
What I do to set spacing for images is something like the following. This solves the scaling problem you've encountered when switching between intervals and symbols. I also made this modification to your formula (see attached).
PHP Code:var nSpacer = null;
function main(){
if (nSpacer == null) nSpacer = (high()-low()) * .2;;
drawShapeRelative(0, high()+nSpacer, Shape.DOWNARROW, "", Color.red, Shape.TOP, counter);
}
Attached FilesJason 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