How to suppress new signals within specified range?

Locked
fxjunk
Posts: 1
Joined: Thu Feb 18, 2016 8:14 am

How to suppress new signals within specified range?

Post by fxjunk »

Hi, sometimes an indicator will give multiple signals within short period of time if the necessary conditions are met. Beside setting a time limit between the occurrence of the signals, I am trying to experiment using a pre-defined range instead. However, my empty4 programming sucks and I am hoping I can get some help here.

Basically the idea is to pre-define a target and stoploss level when the entry conditions are met, and subsequent new entry signals will be suppressed if price has not reach either the target or stoploss level. Only when price has moved beyond either the target or stoploss level, then the indicator can start to print new signals. I suppose this can be done by storing the target/stoploss values in an array but coding this is currently way out of my league :(

Not sure whether this is a good idea but I am hoping this will help to create an indicator that will not print too many "unnecessary" signals on the chart. Appreciate it if I can get some input or feedbacks from the experts in the forum, thanks.
User avatar
SteveHopwood
Owner
Posts: 9904
Joined: Tue Nov 15, 2011 8:43 am
Location: Misterton - an insignificant village in England. Very pleasant to live in.

How to suppress new signals within specified range?

Post by SteveHopwood »

Don't be so bloody silly. Nothing about you post makes any sense. Learn to make sense if you want members to take any notice of you.

I have locked this ridiculous thread.
Read the effing manual, ok?

Afterprime is the official SHF broker. Read about them at https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?p=175790#p175790.

I still suffer from OCCD. Good thing, really.

Anyone here feeling generous? My paypal account is always in the market for a tiny donation. pianodoodler@hotmail.com is the account.

To see The Weekly Roundup of stuff you guys might have missed Click here

My special thanks to Thomas (tomele) for all the incredible work he does here.
Locked

Return to “Coders Hangout”