読み取り専用

フォーラムは現在、読み取り専用のアーカイブとなっています。.

バグ報告やプラットフォームに関する質問はこちら → [email protected]

私たちのコミュニティはDiscordとYouTubeで活動しています。ぜひ参加してください!

ご参加ください Discord YouTube

Opposite blocks definition between outputs of the same indicator

1件の返信

Cristian Martínez de Morentin Suescun

Subscriber、bbp_participant、customer、community、sq-ultimate、4件の返信。.

プロフィールを表示

8ヶ月前 #292326

こんにちは,

I am coding a custom KeltnerChannel indicator which has three outputs:

  • Middle
  • 下げる

When using my indicator for setting price entry levels in Stop/Limit orders, I would like to specify that the opposite value of the “Upper” output is “Lower” and vice versa. For example, in case I am using the Upper output as a Stop entry level for Long orders, I want to set the Lower output as a Stop entry level for Short orders. In summary, I need to use the “OppositeBlock” functionality between the outputs of the same indicator. Can you please help me?

Thank you so much.

0

Cristian Martínez de Morentin Suescun

Subscriber、bbp_participant、customer、community、sq-ultimate、4件の返信。.

プロフィールを表示

8ヶ月前 #292328

I have solved it by implementing the following Negater class (see attached). I have tested it and it seems to be working fine.

It is based on the UpperLowerNegater. Can you please check it and confirm it is correct? If I am not mistaken, it should have higher “priority” than the UpperLowerNegater class given that it has a lower @SortOrder(10099). This way, the indicator with “Middle” buffer use this Negater instead of the UpperLowerNegater.

ありがとうございます!

0

1件の返信を表示中 - 1 - 1件目 (全1件中)