Hey, I am very new to scripts and am more of an HTML writer than C++
What I was wondering is if there is a script or such out there that will end a current trade based on the close of a candle with conditions?
So for example I get on a trade at 1.0001 and the first candle ends at 1.0010. Then the next candle heads up to 1.0022 and closes. I would like to remain in the trade here.
Basically I want to stay in the trade until a candle closes lower than the open. This could be 2 periods or 10.
Is this doable? Is there something out there that can do this now?
Thanks in advance.
Thanks heaps for that link, it has helped a lot. New here, so thanks for being patient and pointing me in the right direction.
Thanks for the links which are also useful. This is my first post here, so you obviously do not know me well enough to understand that I do not expect something for nothing, nobody should.
I was merely asking if there was a script out there already that could help me on my way.
Perhaps in future, give people the chance to ask the questions that you yourself may have asked when you were starting out, before being so arrogant.
Best of luck in your endeavors.
Thank you again, your direction is very appreciated and has helped me a lot.
I have written the script now thanks to all the resources here, so I will test it and see how I go.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.