Import Custom indicator

13 replies

jason234

Customer, bbp_participant, community, sq-ultimate, 17 replies.

Visit profile

6 years ago #117911

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

 

0

tomas262

Administrator, sq-ultimate, 2 replies.

Visit profile

6 years ago #145165

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

0

jason234

Customer, bbp_participant, community, sq-ultimate, 17 replies.

Visit profile

6 years ago #145251

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

0

Karish

Customer, bbp_participant, community, sq-ultimate, 444 replies.

Visit profile

6 years ago #145285

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?..

0

jason234

Customer, bbp_participant, community, sq-ultimate, 17 replies.

Visit profile

6 years ago #145294

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

0

tomas262

Administrator, sq-ultimate, 2 replies.

Visit profile

6 years ago #145298

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

0

Brett Schneideman

Subscriber, bbp_participant, community, 34 replies.

Visit profile

5 years ago #235622

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.

0

tomas262

Administrator, sq-ultimate, 2 replies.

Visit profile

5 years ago #235626

Hello,

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

0

Brett Schneideman

Subscriber, bbp_participant, community, 34 replies.

Visit profile

5 years ago #235632

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

0

tomas262

Administrator, sq-ultimate, 2 replies.

Visit profile

5 years ago #235638

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

0

Brett Schneideman

Subscriber, bbp_participant, community, 34 replies.

Visit profile

5 years ago #235645

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

0

tomas262

Administrator, sq-ultimate, 2 replies.

Visit profile

5 years ago #235655

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

0

Uwe6000

Subscriber, bbp_participant, community, 27 replies.

Visit profile

5 years ago #236607

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

0

tomas262

Administrator, sq-ultimate, 2 replies.

Visit profile

5 years ago #236624

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

0

Viewing 13 replies - 1 through 13 (of 13 total)