Import Custom indicator
13 replies
jason234
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
tomas262
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
jason234
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
Karish
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?..
jason234
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
tomas262
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
Brett Schneideman
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
tomas262
5 years ago #235626
Brett Schneideman
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
tomas262
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
Brett Schneideman
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” ?
tomas262
5 years ago #235655
Yes, you need to use Close[0] crosses and “Every tick” testing in MT4 to backtest correctly
Uwe6000
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
tomas262
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
Viewing 13 replies - 1 through 13 (of 13 total)