Indicators: Indicator Arrows II

 
Automated-Trading:

Indicator Arrows II:

Author: pipPod

hello,

 how i can make it ex4 or mq4 ?? 

 

Hi there


I've been trying to use the indicator provided in this post for my purposed outlined below, however, I'm unable to get accurate signals. Need to understand this further so I can refine the inputs appropriately. Can the author (or someone else) clarify what "triggers" or "rules" have been used in this indicator to generate a Buy or Sell for the Moving Average and the Stochastic Oscillator i.e. Buy when Price closes above the moving average? Buy when %k line closes above %D line, while both starting values were below 20?


My purpose: I've been looking for an indicator which marks Buy or Sell arrows on the 15 min price chart when the two conditions are met:


Buy Arrow (on 15 min chart) when:

1. On 1 hour chart - Closing Price above the 20 period simple moving average; and 

2. On 15 min chart - Stochastic Oscillator - %K line and %D line are both below 20, and the %K line breaks above the %D line


Sell Arrow (on 15 min chart) when

1. On 1 hour chart - Closing Price is below the 20 period simple moving average; and 

2. On 15 min chart - Stochastic Oscillator - %K line and %D line are both above 80, and the %K line breaks below the %D line


Stochastic Oscillator settings are 14,5,5


I have a feeling this indicator will help me achieve my purpose - with some help from you guys :)


Many thanks for your help.


Regards

 
Automated-Trading:

Indicator Arrows II:

Author: pipPod

It gives false alert.

 

This indicator is incredible. Thank you very much!!!

But it has a problem.

Arrows appear delay! When i refresh charts, many arrows appear I didn't see at the time.

 
How to download the indicator
 
Hi!! Can i change the condition to: show arrows only when three indicators are met? 
 
Cool, I'll try it out!
 
A very good indicator. Will you do EA?
 

I downloaded the zip and copied also the view but when I compiled I have 9 errors all due to Range?

Indicator_Arrows.mq5
idenfitier 'Range' already used Indicator_Arrows.mq5 724 8
   see declaration of variable 'Range' Indicator_Arrows.mq5 43 14
'0' - some operator expected Indicator_Arrows.mq5 370 67
'*' - unexpected token Indicator_Arrows.mq5 370 69
implicit conversion from 'unknown' to 'string' Indicator_Arrows.mq5 370 23
'i' - some operator expected Indicator_Arrows.mq5 656 37
'-' - illegal operation use Indicator_Arrows.mq5 656 29
implicit conversion from 'double' to 'string' Indicator_Arrows.mq5 656 25
implicit conversion from 'string' to 'double' Indicator_Arrows.mq5 656 29
'i' - some operator expected Indicator_Arrows.mq5 663 39
implicit conversion from 'double' to 'string' Indicator_Arrows.mq5 663 27
implicit conversion from 'string' to 'double' Indicator_Arrows.mq5 663 31
'i' - some operator expected Indicator_Arrows.mq5 678 37
'-' - illegal operation use Indicator_Arrows.mq5 678 29
implicit conversion from 'double' to 'string' Indicator_Arrows.mq5 678 25
implicit conversion from 'string' to 'double' Indicator_Arrows.mq5 678 29
'i' - some operator expected Indicator_Arrows.mq5 685 39
implicit conversion from 'double' to 'string' Indicator_Arrows.mq5 685 27
implicit conversion from 'string' to 'double' Indicator_Arrows.mq5 685 31
9 errors, 9 warnings 9 9

Improperly formatted text edited by moderator. Please always use the CODE button (Alt-S) when inserting code or log output.

Code button in editor

 
@lucberthiaume #I downloaded the zip and copied also the view but when I compiled I have 9 errors all due to Range?
It is very old code (almost 10 years), and MQL5 has changed over the years. The code will need to be fixed, but the author has not been active for 6 years, so you should either fix it yourself of have someone else fix it for you.