So, no one is here to help me.
I guess this forum is full of mean people then.
I have never received any help here. Ever.
All I ever get is someone complaining about every single thing I ask help for.
I do not understand what this forum is all about then.
Could the problem be that maybe you seem to expect to be spoon fed, instead of actually putting effort into your own learning?
Your subject even states "Teach Me" as if that is somehow our obligation to do so. If you want to be taught then hire a teacher or mentor.
If others were able to study on their own, by analysing the code in the CodeBase, by referencing the documentation, by experimenting, and then on the odd occasion request guidance on a specific issue — then surely you can do the same too, right?
Could the problem be that maybe you seem to expect to be spoon fed, instead of actually putting effort into your own learning?
Your subject even states "Teach Me" as if that is somehow our obligation to do so. If you want to be taught then hire a teacher or mentor.
If others were able to study on their own, by analysing the code in the CodeBase, by referencing the documentation, by experimenting, and then on the odd occasion request guidance on a specific issue — then surely you can do the same too, right?
Dear Fernando,
I knew that you are going to come here and be mean to me.
First, answering to your question, technically, yes, you could put exactly the way you have just said. On the other hand, if someone is participating in this forum and KNOWS the solution to the question, is it hard just to quickly reply? Maybe, for you it is hard. I guess everyone has their own perspective.
Second, I think you have missed on something. I did not write ''Teach Me''. I wrote ''Please, Teach Me''. Does this still sound like an obligation? Or more like a help alarm?
Finally, yes, I can study CodeBase and I will for sure but now I just needed a quick help.
p.s. I am very disappointed with this forum and people. So, do not worry, Fernando, I will never ask for anything again here. Bye.
Putting "please" in front of it is pure sophistry and you know that very well.
Finally, yes, I can study CodeBase and I will for sure but now I just needed a quick help.
Forum on trading, automated trading systems and testing trading strategies
Is it easy (or difficult) to …?
Fernando Carreiro, 2017.08.30 21:43
This post could be considered a “rant”, but I would like to take the opportunity to relay to those that ask similar questions, the difficulty involved in answering such a simple query – “Is it is easy (or difficult) to …?”
- “Easy” would imply that anyone can do it, but that is obviously not the case.
- “Easy” depends on the ability, skill, knowledge and experience of the one that is tasked to do it.
- That ability, skill, knowledge and experience took time to establish and it had a cost, and if you sum it all up, it can be quite high.
- So, “easy” means that if you don’t know how to do it yourself (or not able to do it yourself), then you will have to “compensate” someone else to do it for you.
- You will be “compensating” him or her for all the effort and cost that went into acquiring the ability, skill, knowledge and experience and NOT for the actual time spent carrying out the task.
So, even if the task is just changing one line of code; remember that you are “compensating” the person for his knowledge and skills and not for just one line of code.
The same applies to those that request for something “simple” to be done for free. It is NEVER “simple”. If it were that “simple” then you would be able to do it yourself.
So, respect the hard work and effort the coder went through to gain his skills and knowledge and “compensate” him/her for it. Wanting it for free is being totally disrespectful!
PS! In conclusion, learn to use the Freelance Jobs section and recognise and respect those more skilled, knowledgeable and experienced than you!
EDIT: Please note that I use the term "compensation" and not "payment", because there are many ways to "compensate" for work done. Sometimes a coder will be "compensated" with gained or shared knowledge instead of money, or by an exchange of ideas or other things. It is not always about the money but it is about the "compensation"!
If you had actually put in the effort, then you would have seen this — No coding required — just change the parameter in the Properties dialogue box!.
enum ENUM_CANDLE_TO_CHECK { CURRENT_CANDLE = 0, // Current candle CLOSED_CANDLE = 1 // Previous candle }; ... input ENUM_CANDLE_TO_CHECK CandleToCheck = CURRENT_CANDLE; // Candle to use for analysis
If you had actually put in the effort, then you would have seen this — No coding required — just change the parameter in the Properties dialogue box!.
Well, I have tried this and definitely did not come here to demand a free service or something.
I did put in my own efforts first before looking for help (of course, I understand that everyone wishes to get paid for work but I thought there are people on this planet who are maybe willing to help without any monetary compensation).
I guess, I did not manage to explain myself properly above. Sorry.
The problem here is not which candle to analyse (current or previous), the issue is the alert.
The alert appears while candle is still open/forming.
So, my concern is what to change to make the alert happen once the candle is fully closed.
p.s. I don't know how am I going to compensate you.
The same parameter should also affect the Alerts! Try setting the parameter and test it!
The code you provided is incomplete due to the missing #include files, so I am unable to test it myself.
The same parameter should also affect the Alerts! Try setting the parameter and test it!
The code you provided is incomplete due to the missing #include files, so I am unable to test it myself.
Nope, it does not affect alert at all.
All it does it shifts one candle forward.
Very strange.
Usually, there is a possibility to set an alert on a current candle (0) or once the candle is closed (so usually it is called ''previous candle'' (1) - I am aware of this).
I attach files.
I've tested the indicator and the alerts are being correctly given when the "Previous candle" is selected for the "Candle to use for analysis" parameter.
Analysis of the source code confirms that the functionality is consistent and working correctly.
At the opening of a new bar, if the cross occurred in the previous bar, an arrow is plotted on the current bar and the alert message appears.
It is working correctly as expected. No correction is required.
I've tested the indicator and the alerts are being correctly given when the "Previous candle" is selected for the "Candle to use for analysis" parameter.
Analysis of the source code confirms that the functionality is consistent and working correctly.
At the opening of a new bar, if the cross occurred in the previous bar, an arrow is plotted on the current bar and the alert message appears.
It is working correctly as expected. No correction is required.
But is there a way to keep analysis/arrow on a ''current candle'' but move the alert to the next candle?
For example, I have a MACD indicator and there is an option ''alert shift'', so if I type 1 then alert shifts one candle forward.
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Can anyone teach me how to change the source code below so that Moving Average crossover alert happens once the cross has happened instead of on a current candle?
I know that this must be a simple problem for most of you probably but not for me since I am struggling with coding.
Thank you in advance.