Need some work done? Post a Project Today
Looking for an (tradestation) easylanguage programmer who can program a simple logic within easylanguage.
The logic which should be programmed will be:
-the programmed piece will be an indicator within a tick-based chart
-the indicator to be programmes should look at 4 build-in functions (like the MACD) and should send an alert and an email, if this 4 functions where the same (+/- variation of x pixel) within the last y ticks (compared at each tick). This means: the indicator to be programmed should look if the 4 functions build the same line.
-input for this indicator should be:
the variation (pixel) and the number of ticks to look back
As an example, the macd could be used as the function to be compared (i.e. macd(close, 20,40), macd(close, 30,40), macd(close,10,40) macd(close, 25,40)
To illustrate this very simple routine with an example:
lets say, the 4 functions to be compared are the macd-functions above.
And lets say that the variation should be 1 pixel and the number of ticks to look at is 5.
Then the indicator should do:
-compare macd1, macd2, macd3, macd4 for the actual tick: are they the same (+/- 1)?
-compare macd1,... macd4 for "actual tick" -1
-compare macd1,...-,macd4 for "actual tick"-5
all above are true (the 4 macd build one line): alert/email