EA using Trendsentry indi
-
Hi,
How can I create an EA using the Trendsentry indicator, I need a buy position that gets created at the start of the second candle above the indi (close position: when the indi changes color from blue to red), a sell position at the start of the second candle below the indi (close position: when indi changes color from red to blue)
Thx
-
The EA normally does not care what are the colors of the indicator. There is something called "indicator buffers" and this is the port where the indicator gives data to the EA. The EA contacts with the indicator with these buffers. Each of them has some value, all the time. What is the value... this is what matters for the EA. So if the indicator is blue or green... this is for your eyes, the EA reads numeric values only.
There are some blocks to deal with indicators, those in "Indicators" category. Try with "Indicator is visible" to detect when something is visible, or "Indicator appear" to detect when something (like an arrow) appears on the chart, or some colors are changing.
Here is more:
https://fxdreema.com/documentation/gett ... indicators
https://fxdreema.com/documentation/proj ... indicators