You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Hi,
This is my first post & I had a request for coding a system which I feel should perform well.
Here we would use 2 Custom Indicators Say Custom1 & Custom2.
Custom Indicators would use default values only. Custom indicator I have in mind is HMA. Which I have downloaded on this forum.
I didn't want to mix into the code as I wanted to set the values manually for custom indicators and test accordingly. I have copied the code and created 2 indicators called HMA1 & HMA2. I have set parameters as 10 for HMA1 & 20 for HMA2. Maybe we can use JMA also.
1.Signal on Current Timeframe & Current Pair.
2.Reference on Higher Timeframe say HTF. Options of 1H, 4H, Daily, Weekly.
Buy Signal
(Custom1 Cross Custom2) And (Custom1(HTF) > Custom2(HTF))
Exit Buy
(Custom2 Cross Custom1) And (Custom1(HTF) > Custom2(HTF))
Sell Signal
(Custom2 Cross Custom1) And (Custom1(HTF) < Custom2(HTF))
Exit Sell
(Custom1 Cross Custom2) And (Custom1(HTF) < Custom2(HTF))
Parameters:
1.Execute order on completion of bar.
2.Only one position to be opened.
3.Lot Sizing
4.Trailing Stop Loss
Thanks & Regards
U S Galla