インディケータ: Fair Value Gap (FVG) Indicator - ページ 2

 
とても良いコードですが、存在しないバッファを通してレベルを呼び出すEAに入れたい 人に提案があるのですが、BullとBearの最後の範囲をそれぞれ入れて更新することはできますか?
 
Alberto Da Silva Lira 入れたい 方に提案があるのですが、BullとBearの最後の範囲をそれぞれ入れて更新することはできますか?

バッファに付随するすべてのコードでインジケータを書き換えたくないのであれば、GlobalVariablesの使用を検討してください:

ターミナルのグローバル変数 - MQL5リファレンス - MetaTrader 5のアルゴリズム/自動売買言語に関するリファレンス

GlobalVariableはObjectsと非常に簡単に連動します。

具体的には、GlobalVariableSet()とGlobalVariableGet()を参照してください。
Documentation on MQL5: Global Variables of the Terminal
Documentation on MQL5: Global Variables of the Terminal
  • www.mql5.com
There is a group set of functions for working with global variables. Global variables of the client terminal should not be mixed up with variables...