Buy-Sell when arrow of the indicator appears
-
I have an indicator (HalfTrend) which gives signals by popping an arrow when to buy or sell the market. I am trying to created an EA with this indicator but cant get it to work.
https://fxdreema.com/shared/8gqGhKcL
I uploaded the idicator and using the correct buffer but cant get the EA to open a trade when arrow appears.
Any help would be much appreciated.
-
Half trend is a version of super trend can be inaccurate. Check that in the data window you have a value for the arrows, then check if by setting up a small test project, if you can draw an arrow on chart in backtest when a indicator arrow appears.
-

The first thing you should always check after connecting is to create the correct handles, only after such tests you can see the connection value and know if the indicator is definitely updating in EA -
-
@Jan1050 I get that but what I said wasn't to check if the indicator works, it was to check if the EA can react to the indicator.
-
@jstap Looking at the data window values does appear when I hover my mouse on the arrow for both buy and sell.
-
Ok so tecknicly it should work for you, can you get this to print an arrow (or line on the indicator arrow) if using the correct buffer indicator appears block should do it.
-
Yes I can get the arrows to print and I am using correct buffers 4 and 5 which are for the arrows buy and sell, but still cant get it to work.
This is a basic project:
https://fxdreema.com/shared/8gqGhKcL -
Ok i checked the EA on another account (VPN) and its working just fine. For some reason its not working on the demo account I tested it first.
Thanks for helping.
