How to make EA take trades from a custom indicator
-
Hi,
I have a purchased indicator hence an EX4. How can I use that indicator which i drop on the chart and make an EA to take trades from it. For example at a crossover or certain values or some criteria. Any help will be highly appreciated.
Thanks
Fawaz -
If you are not gonna add this indicator to fxDreema (by uploading it), have a look at the last 3 pics here under "Without uploading": http://fxdreema.com/documentation/proje ... indicators
It is also possible to upload other indicator's content instead of this one, the only thing is the name of the file and the number of buffers. Uploading indicators for use in fxDreema is only because of their names and buffers, their logic is not important.
Also, it is very good idea to check "Levels tester - visually check buffers of custom indicators (and other tools)" example here: http://fxdreema.com/examples
-
Is there any way to add indicators that have the EX4 file extension.
-
hi i have an indicator which i cant seem to get working as i wish....
basically i want it to take trades as it changes trend colour from red-blue>buy, from blue-red>sell [ie previous bar the indicator was a different colour]
also another thing i wanted to do was have acouple of these in succession, so #1 may be blue already then #2 changes from red to blue, ie once all blue in one bar then buy
im working on a system which is like this.....
[HILO indicator blue (previous candle hilo was opposite) &
minimum 3 out of 4 Super-trends green...............BUY (so yes 4 super-trends)
all occurring on the same bar except for when only 3 Super-trends occur, one trade at a time.
opposite for sell
initial stop loss @ first HILO plus spread
exit @ reversal of HILO,ive used the OR logic, also it might be good if fxdreema could take a look at the project at somepoint (after subscribtion---as it has 25 connections)
any hellpp would be appreciated, also i cant seem to attach the indicator mq4 & ex4 are not uploadable
-
Hi-Lo is similar to PSAR, but it has two buffers. When buffer0 is 0, buffer1 is > 0 (price level). And when buffer0 is > 0 (price level), buffer 1 is 0.
You can use "Levels tester" block to see how buffers work. Connect it with "Just pass" under "on Tick", and load Hi-Lo custom indicator inside.
What I found is, when this indicator places the new color, it can change it's decision shortly after. Maybe it's a good idea to work with Candle ID = 1 (on the previous candle, which is already finished), otherwise you will get false signals.This might help: http://fxdreema.com/shared/q4J4vXjRc
Both conditions are different, but the result is the same. -
-
hi, sorry about this i should have been more clear, i figured out the Hilo before i was using candle close > hilo, i was trying to get information on "super trend agouz", or "xsupertrend" by xomod, i will try the candle ID thing though.
-
also i dont know if u modified the platform, but everything i do in the platform now comes up with limited information and weird stuff, like when i place a condition it ocnsiders it a just pass block, any ideas?
-
-
SuperTrend_AGOUZ also have two buffers, but their values are either 1 (visible) or 2147483647 (not visible). In Hi-Lo the values were: Price Level (visible) or 0 (not visible). You have similar indicators in different formats.
In "Condition" there is an option that looks like "2147483647 => 0 " and if you set it to "Yes" for SuperTrend_AGOUZ, it will behave like Hi-Lo.About the modifications... my answer should be No. Especially if you use local version, which is 20-days old. Condition should pass only when the condition inside is true, but not when it's false. Maybe if you give me more details about these weird things that happens...
-
i click new project and i type name and press ok, and it sens a red message top left screen that says failure to create new expert advisor
the condition block once dragged on to screen has input box that isnt has normal, ie see attached image,
and stuff like that
......
fxdreema.jpg -
This "Error: Failure to create new expert advisor" appears when the program (fxdreema.exe) cannot create files/folders, have no permissions to do it. This happens when UAC (User Account Control) is enabled for Windows.
Try to run the shortcut with "Run as Administrator" enabled -> www.sevenforums.com/tutorials/11841-run ... rator.html (there are many options listed, I prefer option five or six) -
Build 028 is out. Now when fxDreema starts, the first thing to do is to try to write and delete a temporary file. If it fails, an error message appears with explanation of how to make it to run with administrative privileges.
The latest version is available here http://fxdreema.com/desktop
-
i ran the just pass, and it draws a line where the indcator changes from blue to red, and vice versa, what does this logic look like in blocks , i did 1. no trade running. 2 condition (still not sure what this looks like tried with candle id 1 X> super trend agouz) 3. buy/sell block. 4 condition (opposing logic to condition 1) 5. close trade.
but have major problem ea buys and sells many times asthough the no trade/order exists block not working. it only want it to give one buy/sell order per transition of bluered supertrend movements i.e one buy once turns blue, close trade when turn red & sell, close trade when turn blue & buy. etc but cant figure it out once i get this though ill be close to figuring out how to get3-4 super trends in collusion
, please help, i realise there is 9only so much you can do to help build the EA, so any help would be appreciated -
im going back tio the drawing board i feel i have to go back and re read the hilo example
sorry please be patient with me, ill try write things with in less of an excited state -
Well, in examples that I give, I'm not trying to exaxtly make the final EA, I want to only show how to do something.
Every EA works basically like this:......... => Condition 1 -> Action 1
On Tick => Condition 2 -> Action 2
......... => Condition 3 -> Action 3Tick is received, and this causes some things to be checked (conditions) and some actions to be taken.
Also you can read here a little bit more about crossover: http://fxdreema.com/documentation/proje ... er%20works
When using indicators, the key is to know what happens on their buffers. Every indicator is different, but if you know what it returns to the EA, you can then built the strategy correctly. And that's why I made this "Levels tester" block, to test fast and easy one of the buffers and know what really happens there.
-
my difficulty is what to do after the level test of buffer, i will read more and get back to you thnx for yoru help thus far.
-
Levels tester is only for temporary use, for you to see what happens on the buffers. This block is not needed in the project, and not a good idea to use it as indicator (because it looks like indicator).