Custom inidcator
-
I'm having problem using a custom indicator. It provides three signals buy sell exit. I want to use this indicator so that if it indicates buy then a buy order is made if it indicates sell or exit then the buy order is closed, and vice verse. but I'm really struggling to get anything to work.
-
Indicators are very different. Use "Indicator tester" block to visually see what values some of it's buffers sends to the EA, so when you know this you will have an idea how it works. If everything is fine you can use "Condition" block to compare values or one of the blocks in "Indicators" category - they are like special versions of "Condition" block and works for most indicators.
-
how can we use indicator tester is there any help document or tutorial
-
Connect it with "Pass" under "on Tick" and select some indicator inside. Here is a little example with it (it was previously named "Levels tester" and I have to update this example): http://fxdreema.com/demo/levels-tester
-
after that how can i open a order when buy signals come out in indicator ?
-
You have "on Tick" - blocks placed there are executed on every tick. Well, the ones at the top (where no blocks are connected above them). These blocks should be conditions, filters... anything that asks for certain condition before taking some actions.
Tick comes -> Check some conditions -> Do some actions.
For example, conditions might be:
No trade is running -> Check if MA5 is above MA10and the action can be:
Buy nowAlso there is a category for working with indicators. This category is named "Indicators" and it contains some blocks that are some kind of complex Condition block. Also Condition can be used to check what it has to be checked.
Indicators are different in how they communicate with the EA. They communicate with their buffers. On each of these buffers you have current value and values for each bar in the history where the indicator is drawn. A buffer is an array... if we have to say it in programming language. And "Indicators tester" is used to just see what is in a single buffer, at least to know if it's something meaningful, not crap (because there are many indicators with crap on their buffers).