- Home
- Community
- Programming
- Custom Indicator like ZigZag
Edit Your Comment
Custom Indicator like ZigZag
May 31, 2016 at 06:58
Member Since Jan 09, 2015
7 posts
Hi,
I'm having a few issues with some custom indicator design that I think should work its just a bit beyond my ability.
Is it possible to make an indicator thats kind of similar to the 'ZigZag' indicator using the conditions below for adding points to the indicator line each time the candles make a high.
-Using the previous 4 candles
-Candles shift back 3 and 4 are both 'up' ie The close is above the open.
-Candle shift back 2 is a 'down' candle, ie The close is above the open.
-Candle shift back 1 is lower than candle 2, ie The close of candle 1 is lower than the open of candle 2.
When those conditions are met it draws a new point for the indicator at the open of candle 2.
Then the EA will take the information from this indicator and trade accordingly. Eg if the last 'X number' of points are all higher it opens or similar.
Thanks in advance for any help.
Tom
I'm having a few issues with some custom indicator design that I think should work its just a bit beyond my ability.
Is it possible to make an indicator thats kind of similar to the 'ZigZag' indicator using the conditions below for adding points to the indicator line each time the candles make a high.
-Using the previous 4 candles
-Candles shift back 3 and 4 are both 'up' ie The close is above the open.
-Candle shift back 2 is a 'down' candle, ie The close is above the open.
-Candle shift back 1 is lower than candle 2, ie The close of candle 1 is lower than the open of candle 2.
When those conditions are met it draws a new point for the indicator at the open of candle 2.
Then the EA will take the information from this indicator and trade accordingly. Eg if the last 'X number' of points are all higher it opens or similar.
Thanks in advance for any help.
Tom
*Commercial use and spam will not be tolerated, and may result in account termination.
Tip: Posting an image/youtube url will automatically embed it in your post!
Tip: Type the @ sign to auto complete a username participating in this discussion.