バーの範囲内の条件
2件の返信
こんにちは、,
I don’t know how to check some conditions if they happened in a specific range of bars.
I have 3 EMA conditions with different values and they don’t cross all at the same time. So how can I verify this?
Or is it possible to check if a crossing already happened in the past when I check the next condition?
For example: Price must be above EMA 50 and EMA 100 and EMA 5 must cross below EMA 15 before
Thanks for any help! 🙂
エキスパートアドバイザーによる自動取引
https://www.rabenesche.de
また、以下の分野でも活動しています:
https://forums.babypips.com/u/ravenash
0
こんにちは,
you can setup a variable called “crossHappened” and set it to 0. Once the cross occurs you can set this variable to 1. You can then use this variable value for your next condition on trading decision. Once you enter your position you set the variable value back to 0. Let me know if you need an example on this
0
Aaah…thank you tomas for your idea! 🙂
I will try it on my own.
Thanks for your tremendous support! 🙂 *thumbs up*
エキスパートアドバイザーによる自動取引
https://www.rabenesche.de
また、以下の分野でも活動しています:
https://forums.babypips.com/u/ravenash
0
2件の返信を表示中 - 1 - 2件目 (全2件中)