カスタムインジケーターのシグナルに応じて購入・売却
5件の返信
how can i Tell the EA to Sell and Buy only when a signal appear from a custom indicator ?
see an example here :

i imported the custom indicator but i don’t know how to tell the ea to do it
there is no (if something appeared then do something)

and finally , how to checkout the last closed position type ?
0
hello ? 🙁
0
up up up up anyone ? 😆
0
have you imported your custom indicator to EA Wizard? Is it named BBands?
If yes then you should just compare its value with somehting. I don’t know your custom indicator, you shoud look at the values it returns in Data window in MT4.
But I assume it has UpTrendSignal and DownTrendSignal outputs and they are 0 until there is a signal. Then they are non-zero.
So in your strategy you just have to cmpare this indicator with zero.
例えば:
IF BBands(…, UpTrendSignal) > 0
それから
…
If you are struggling to find number on the right side of comparison, it is on “Other” selectbox.
マーク
StrategyQuantアーキテクト
0
thanks thanks a lot !!!
i will try that
しかし how to checkout the last closed position type ?
0
use function Last order was Long/Short
マーク
StrategyQuantアーキテクト
0
5件の返信を表示中 - 1 - 5件目 (全5件中)