hi
I am new to coding and I am attempting to code a XAUUSD trading bot that places a BUY position every time a Hourly Hammer candle stick is formed, and a SELL position every time a Hourly shooting star (inverted Hammer) is formed. I have been searching for 3 WEEKS for information and examples on how to do this and have found little to nothing and what I have found hasn't worked. If there is anyone who has coded anything like this before and can post an example or knows where I can found useful information to help or can show me where I went wrong in my code. it would be a BIIIG help and much appreciated. I attached the code that I have got soo far.
Nico Xenox
Hey Troyhan Coleman
I think the indicator works as follows:
As soon as there is a hammer in the chart, the indicator value jumps to one, otherwise it stays low.
Meaning that the code will just invest if there is the candlestick pattern. Now you would need to adjust when you want it to sell.
Hope it helps;)
Troyhan Coleman
The material on this website is provided for informational purposes only and does not constitute an offer to sell, a solicitation to buy, or a recommendation or endorsement for any security or strategy, nor does it constitute an offer to provide investment advisory services by QuantConnect. In addition, the material offers no opinion with respect to the suitability of any security or specific investment. QuantConnect makes no guarantees as to the accuracy or completeness of the views expressed in the website. The views are subject to change, and may have become unreliable for various reasons, including changes in market conditions or economic circumstances. All investments involve risk, including loss of principal. You should consult with an investment professional before making any investment decisions.
To unlock posting to the community forums please complete at least 30% of Boot Camp.
You can continue your Boot Camp training progress from the terminal. We hope to see you in the community soon!