Quote:
Originally Posted by pipsqueak4x
....into the code of a moving average? I am working with XPMA (which is a MA that changes color from Coder's Guru) and I am trying to have multiple currency lines displayed in a single chart which change color according to their Moving Avg. direction.
I trade triangularly (strength vs weakness and trade the cross) and I use XPMA in different currency charts and compare their direction visually and am trying to get them into a single chart and am having difficulty.
I have added an extern string for a currency but it doesn't pull another currency's data in. I believe I need more instructions in the code.
Can anybody make any suggestions? Thanks.
|
If you want indicator calculated with another pair than the one youy attached your indy, you must replace the "NULL" by the new pair:
extern string NewSymbol = "USDJPY";
iMA(NewSymbol,0,MA_Period,.....);
Remember to write your symbol EXACTLY like your broker display it.
FerruFx