Reply

indicator lowest() usage

4 replies

TJ#

Customer, bbp_participant, community, 144 replies.

Visit profile

7 years ago #115480

hi,

 

I am trying to filter out patterns that was “any past 20 bars below RSI(14) value 20”.

 

I found this func, indicator lowest () and was trying it out but did not get the outcome I am expecting..

 

How to code this correctly?

 

Many thanks in adv.

 

File: RSI.pngRSI.png
File: RSI 2.pngRSI 2.png

0

tomas262

Administrator, sq-ultimate, 2 replies.

Visit profile

7 years ago #138971

Hi, you can use counter to find out whether a indicator signal appeared X bars back. Look at the sample attached.

 

0

TJ#

Customer, bbp_participant, community, 144 replies.

Visit profile

7 years ago #138984

hi Tomas,

 

Thank you for the prompt response.

 

The sample provided will work as an EA but how do we get it to work as a signal indicator?

0

tomas262

Administrator, sq-ultimate, 2 replies.

Visit profile

7 years ago #138998

If you wan to use this for manual trading then you can replace Market Order for Draw Arrow and export it again as EA. I noticed some issues with arrows when exported as a signal indicator

0

TJ#

Customer, bbp_participant, community, 144 replies.

Visit profile

7 years ago #139004

For Signal indicator, the EA Wizard only consider the IF conditions and omits all THEN conditions.

0

Viewing 4 replies - 1 through 4 (of 4 total)