Welcome to NexusFi: the best trading community on the planet, with over 150,000 members Sign Up Now for Free
Genuine reviews from real traders, not fake reviews from stealth vendors
Quality education from leading professional traders
We are a friendly, helpful, and positive community
We do not tolerate rude behavior, trolling, or vendors advertising in posts
We are here to help, just let us know what you need
You'll need to register in order to view the content of the threads and start contributing to our community. It's free for basic access, or support us by becoming an Elite Member -- see if you qualify for a discount below.
-- Big Mike, Site Administrator
(If you already have an account, login at the top of the page)
what did you check exactly i.e. what's the code you used for the check?
It probably comes down to a settings or setup issue, but without knowing what you used exactly for inputs, strategy properties etc. one could only guess.
Using your default inputs on EURUSD for example, the condition "EMA_spread>EMAspread" will not become true (unless EURUSD trades a lot higher).
Regards,
ABCTG
Can you help answer these questions from other members on NexusFi?
Hmm, that's weird as that coindition just tells that the difference between the two EMA's (200+21) should be more than 4 pips.
I did not use a code to check, I just went back and looked at some dates where there should have been trades and there wasn't. Sorry ABC, I am a beginner in EL and this is my first attempt to create my own signal. I have played around in EL with some of the build-in signals but this is my first month lol.
Now, I have one last problem. And that is that I have a rule that the price (long setup) after the OR range has formed 07-09 cannot break the low of the OR. What I have now is this:
But it still takes trade even if the low of the OR has been broken. WHAT I WANT is the script to end IF a low of a bar AFTER 09 breaks the OR low.
Just cannot figure out how to do a statement like that.....
there is no function that will do that exactly, but you can code your own functionality.
Your code would have to save the low at 900 (or what ever value you look at - the OR Low for example) in a variable. Then when the low of bar is less than this variable, you can set a boolean variable to false.
This boolean variable can then be included in your order condition checks, so that orders can only be sent if this variable is "true" (besides your other conditions).
The last thing you'd have to do is to reset this variable every time when you want to allow trading again (for example at the beginning of the opening range period).
Regards,
ABCTG
GustavMejlvang
Do you know if there is a function like:// if low<the 0900 low, then end. else // So the function can refer back to the 0900 bar, bar efter bar?
there is no function that will do that exactly, but you can code your own functionality.
Your code would have to save the low at 900 (or what ever value you look at - the OR Low for example) in a variable. Then when the low of bar is less than this variable, you can set a boolean variable to false.
This boolean variable can then be included in your order condition checks, so that orders can only be sent if this variable is "true" (besides your other conditions).
The last thing you'd have to do is to reset this variable every time when you want to allow trading again (for example at the beginning of the opening range period).
Regards,
ABCTG
Thank you VERY much! Now I know what to do. Will probably take some time and tries, but at least there is a way.