hi,
i'm trying to build a "dashboard" that shows how far a group of currency pairs have moved from the weekly open. something like
AUD Group
AUDJPY: -100 Pips
AUDUSD : -85 Pips
GBPAUD: 150 Pips
EURAUD: 135 Pips
i'm just starting to learn mql4. if someone can provide some sort of template for this, it will be a great help for me.
thanks,
jay
Hi jaobedoza,
Please click and use iOpen().
ok this is what i have so far
<SNIP>
it's supposed to print
EURAUD XXX PIPS
EURNZD XXX PIPS
but its only printing the EURNZD part
ok i now have a working indicator :)
it shows the pip difference between current bid and weekly open.
i used the iOpen() function as suggested. i subtracted weekly open to the current bid and multiplied by 10000 (1000 for jpy pairs) to get the pip value.
the absolute value is displayed but the colors are lime for positive and red for negative.
now i want the values to be displayed in descending order; lime on top red at the bottom if its possible.
also, how can i make the currency pairs and time frame to be used be inputted by the user to give the indicator flexibility.
thanks,
jay
Hi, try mine.
i tried it nothing is being displayed on the chart
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
hi,
i'm trying to build a "dashboard" that shows how far a group of currency pairs have moved from the weekly open. something like
AUD Group
AUDJPY: -100 Pips
AUDUSD : -85 Pips
GBPAUD: 150 Pips
EURAUD: 135 Pips
i'm just starting to learn mql4. if someone can provide some sort of template for this, it will be a great help for me.
thanks,
jay