6. 6. 2022

5 11

Semaphore Signal Level Channel – SSL

This indicator consists of two moving averages, one of which is applied to the high of the price and the other to the low of the price, creating an envelope curve that follows the market price. The idea is to trade based on the flip technique, where the price moves from above the two moving averages to below them and vice versa.

When the two moving averages intersect, the indicator signals that the price movement is changing direction or is about to change direction (from long to short or from short to long).

The indicator has two parameters:

  1. Type of Moving Average
  2. LB – Period

You can select a type of moving averages

  • SMA
  • EMA
  • LWMA
  • SSMA

The indicator has two lines:

  1. SSLU
  2. SSLD

We have added these conditions as custom blocks:

  • Close is above/below SSLU
  • Close is above/below SSLD
  • Close is between  SSLD and SSLU
  • Close is between  SSLD and SSLU x Bars
  • SSLU is above/below SSLD

Indicator is implemented for: MT4/MT5/Tradestation/ Multicharts

 

 

 

11 Comments
Oldest
Newest Most Voted
Emmanuel
6. 6. 2022 5:54 pm

Excellent !!!!! I did not know this signal , Thank you very much Clonex !!!

Saskie
11. 8. 2023 9:32 pm

When I try to backtest my EAs in MT5, I get the following errors:

– cannot load indicator ‘Moving Average’ [4002]
– Failed to get handle of the iMA indicator

I added the SqSSL.mq5 file in the indicators directory and I compiled it and then compiled the EA. I also set the correct symbol for the subchart instead of “Same as chart” in the EA parameters. Is there something else I need to do?

Thanks!

tomas262
Admin
Reply to  Saskie
14. 8. 2023 7:58 pm

Do you have other SQ indicators installed as well?

Saskie
Reply to  tomas262
14. 8. 2023 8:18 pm

I use other indicators in my strategy, but I installed and compiled the entire SQ custom indocators

Martin Villafañe
Reply to  Saskie
30. 10. 2023 10:43 am

I have the same problem too in MT5.
change line

iCustom(NULL,0,”SqSSL”,SSLLB1, MODE_SMA);

By

iCustom(NULL,0,”SqSSL”,MODE_SMA,SSLLB1);

Last edited 2 years ago by Martin Villafañe
Sergio Hurtado
Sergio Hurtado
Reply to  Martin Villafañe
12. 6. 2025 4:20 pm

si tienes razon, no entiendo porque no lo arreglan

Mathias
12. 8. 2025 2:30 pm

Unfortunately the .ex5 file is missing, can’t use it. Can you upload it? Thanks

My bad, didn’t compile…

Last edited 10 months ago by Mathias
tomas262
Admin
Reply to  Mathias
13. 8. 2025 4:28 pm

There is the mq5 file. Open in MT5 MetaEditor and compile. This will create the ex5 file

pacammu
pacammu
22. 8. 2025 3:33 pm

I downloaded the indicator today, the strategy on mt4 works, but with mt5 it gives several errors: “array out of range in SqSSL.mq5”, “Failed to get handle of the iMA indicator” etc..
How can I solve?

pacammu
pacammu
23. 8. 2025 9:00 am

Paste this into the SSL.tpl template in the Metatrader5 folder in the Code Editor. Delete the current code. The path is: \user\extend\Code\MetaTrader5

iCustom(<@printInput block />,"'SqSSL'",
<@printParam block "#LB#" />,
<@printParam block "#Type#" />,
<@printMAMethod>,
</@printMAMethod>)

Mathias
Reply to  pacammu
13. 10. 2025 3:09 pm

Hey pacammu,
thanks for leading me into the right direction and sharing it here. But as it seems that the order of the parameters is wrong your code doesn’t work, I used this one and it works, would be great if someone can confirm:

iCustom(<@printInput block />,”‘SqSSL'”,
<@printMAMethod><@printParam block “#Type#” /></@printMAMethod>,
<@printParam block “#LB#” />
)

PS: As I ran into the issue: The Path mentioned by pacammu is within the SQX Folder structure.

Thanks again to pacammu, you deserve the credits here…