Hmm, maybe EURUSD+GBPJPY is not really what he had in mind...
THanks for he reply. I would like to plot the candlesticks for EURUSD+GBPJPY. I have looked at the thread on Hieken Ashi but I am not proficient enough on the language to extrapolate what to do.
I was expecting that there was a function candlesticks(hig,low,close,open) but there is not!
Can somebody write such a function a showing how to use it within the code?
Why developers they do not make possible that from the file menu you can plot a linear combination of crosses instead of a single cross?
That would be very useful!
//buffers definition for the compound cross EURUSD+GBPJPY
double new_cross_Open[], new_cross_Close[], new_cross_High[], new_cross_Low[];
//now let's calculate the open, close,high, low of EURUSD+GBPJPY
new_cross_Open=iOpen("EURUSD",0,0)+iOpen("GBPJPY",0,0);
new_cross_Close=iClose("EURUSD",0,0)+iClose("GBPJPY",0,0);
new_cross_High=iHigh("EURUSD",0,0)+iHigh("GBPJPY",0,0);
new_cross_Low=iLow("EURUSD",0,0)+iLow("GBPJPY",0,0);
now I would like to have a function to plot new_cross_Open, new_cross_Close, new_cross_High, new_cross_Low
as a candlestick plot
......
thanks
Anboy can help?
Thanks
"Let's say I want to plot
EURUSD+GBPJPY
How do you do this?"
Pick a point in time.
Pick a base security. EURUSD in this case.
Plot bars for other currency relative to that starting time and price. Heikin Ashi gives the clues on how to plot the bars
using indicator indexes, as DxdCn noted.
It looks like this in the end:
Phy,
Would you post the code to get the plot that you've published?
thanks

- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Let's say I want to plot
EURUSD+GBPJPY
How do you do this?
????????????????????????
Thanks