Not logged in
Viewing 14 posts - 1 through 14 (of 14 total)
  • #117911 |
    Customer
    17 Posts

    Hi,

    How do I import fibo indicator since it has no direct output buffers but uses ObjectCreate, etc to draw lines on chart?

     

    Thanks

     

    J

     

    #145165
    Moderator
    1559 Posts

    Hello,

     

    you cannot directly import the indicator. You would have to add a buffer into it to provide some usable output. Another option would be to read the object value (price in this case) by a custom function if you know in advance the name of the object drawn. There is already an example on reading object price you can check here https://strategyquant.com/forum/topic/7352-horizontal-lines-for-range-breakout-trading/

     

    Let me know if you need any help

    #145251
    Customer
    17 Posts

    Hi,

    Yes need some help , I want to use my fibo indicator in strategy quant 4 , since the indicator produce object values with unique names how can I custom code this so strategy quant can use this indicator, also I do not understand why I would need to use EA Wizard or how to use it in new SQ4 program since there are no docs on this yet. Can you help me further with this conversion? Thanks

     

    J

    #145285
    Karish
    Customer
    430 Posts

    I saw a screenshot by the Dev team of SQ4 with Fibo as an already built-in building block.. so…, perhaps it will be already implemented into SQ4 as a default building block?..

    #145294
    Customer
    17 Posts

    Hi,

     

    Perhaps you can gleam some info from your Dev Team on how to import this type of indicator , because the Fibo was just a example of the type of indicator that I want to use!

     

    Thanks

    J

    #145298
    Moderator
    1559 Posts

    Hello,

     

    yes, Fibonacci levels indicator will be included in SQ4. If you need some customized version it can be added later using the code editor

    #235622
    Participant
    45 Posts

    Hello,

    Am I able to use this indicator to make an ea that opens trades at fibo levels? I imported it to custom indicators and made a very simple ea with it but it doesn’t seem to be working? Also I think I am using an old version of EA Wizard. Would I be better off installing the latest SQ4 which I believe has been recently released?

    Thank you, Brett

    Attachments:
    You must be logged in to view attached files.
    #235626
    tomas262
    Administrator
    1826 Posts

    Hello,

    it should work as shown in the attached file. You can try and let me know if any issues

    Attachments:
    You must be logged in to view attached files.
    #235632
    Participant
    45 Posts

    Thanks Tomas, with the sqw you sent does it open a trade at the moment it crosses the fib level or only on a close at bar opening?

    Also, what is the actual fib level in your example? If I want to be able to change the desired fib level do I need to set up a variable value and would that be in parameters eg Parameter   ‘Fib Level”    0.5?

    Brett

    #235638
    tomas262
    Administrator
    1826 Posts

    Hello,

    it evaluates entry on bar close.

    If you select output F5 it is the 0.5 level for fibo

    Check the EA input parameters to see corresponding level

    #235645
    Participant
    45 Posts

    Is it possible for it to evaluate at the time it first crosses above .5 fib eg   “if bid > F5 enter long” ?

    #235655
    tomas262
    Administrator
    1826 Posts

    Yes, you need to use Close[0] crosses and “Every tick” testing in MT4 to backtest correctly

    Attachments:
    You must be logged in to view attached files.
    #236607
    Participant
    126 Posts

    Hello, how can i set fibo levels without custom indicator with Entry, TP and SL?

    For example: Low is Lowest Low of 20 barsback and High is Highest High of 10 Barsback.
    So i like to go long fibo level 38,2 percent from High to Low. If close[0] cross above fibolevel 38,2 percent, go long.

    TP is fibo105 percent
    SL is fibo 80 percent

    Thank you, Uwe

    #236624
    tomas262
    Administrator
    1826 Posts

    Hello,

    you can calculate fibo prices manually and use them for TP, SL, Entry. See the example attached and let me know if any questions

    Attachments:
    You must be logged in to view attached files.
Viewing 14 posts - 1 through 14 (of 14 total)

You must be logged in to reply to this topic.