Yes it's possible, what have you tried ?
now i see only one arrow below/above bar, i don't now how modify this code.
string upArrow1=NewArrow(Time[i-1], High[i-1]+0.0005, Blue); InLTrade = true;
i want put arrow next to bar, exact in this place where the lines intersect.
Like on this image, blue line cross red line when price is 1.09712 and on chart arrow show the same price
Forum on trading, automated trading systems and testing trading strategies
Welcome,
- Usually people who can't code don't receive free help on this forum, though it could happen if you are lucky, be patient.
- If you show your attempts and describe well your problem, you will most probably receive an answer from the community.
- If you don't want to learn to code, nothing bad, you can either look at the Codebase if something free already exists, or in the Market for paid products (sometimes free also).
- Finally, you also have the option to hire a programmer in the Freelance section.
Good luck.
OK,
I modified the indicator. Now send me Alert
if(PrevSignal <= 0) { if(BufferGreen[SIGNAL_BAR] - BufferMagenta[SIGNAL_BAR] > 0 && BufferMagenta[SIGNAL_BAR+1] - BufferGreen[SIGNAL_BAR+1] >= 0 && BufferBlue[SIGNAL_BAR] - BufferRed[SIGNAL_BAR] > 0 ) { PrevSignal = 1; Alert("BUY1!!" + string(Bid), ", ", Symbol(), ", ", Period(), "TimeCurrent=", TimeToStr(TimeCurrent(),TIME_SECONDS)); PlaySound("Alert.wav"); } else if (BufferBlue[SIGNAL_BAR] - BufferRed[SIGNAL_BAR] > 0 && BufferRed[SIGNAL_BAR+1] - BufferBlue[SIGNAL_BAR+1] >= 0 && BufferGreen[SIGNAL_BAR] - BufferMagenta[SIGNAL_BAR] > 0 ) { PrevSignal = 1; Alert("BUY!!" + string(Bid), ", ", Symbol(), ", ", Period(), "TimeCurrent=", TimeToStr(TimeCurrent(),TIME_SECONDS)); PlaySound("Alert.wav"); } }
But I would like to create code with arrows, I would ask for advice on where should to look?
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
I want to ask you, if it is possible to change the code so that the arrow shows the price when there has been a cross lines, and add second arrow with the price higher / lower by 50 points. Now the indicator shows arrows below and abow the bar.
like this