Which currency pair have highest pips value and lowest Pips value per Standard lot. Can anyone help me a list of currency pairs with pips value (High to Low order)
Some exotics probably have the lowest pip value while any /GBP pair should be the highest pip value. I don't know why would you need such a list, but you could probably code a simple script that would cycle through all the symbols and output the tick value for each of them.Which currency pair have highest pips value and lowest Pips value per Standard lot. Can anyone help me a list of currency pairs with pips value (High to Low order)
Which currency pair have highest pips value and lowest Pips value per Standard lot. Can anyone help me a list of currency pairs with pips value (High to Low order)
Switch over to the big boys side of things. Actual physical commodity trading. How about we have a quick chat about it?Which currency pair have highest pips value and lowest Pips value per Standard lot. Can anyone help me a list of currency pairs with pips value (High to Low order)
Some exotics probably have the lowest pip value while any /GBP pair should be the highest pip value. I don't know why would you need such a list, but you could probably code a simple script that would cycle through all the symbols and output the tick value for each of them.
//+------------------------------------------------------------------+ //| MyPipValue | //| | //+------------------------------------------------------------------+ #property strict // Function to calculate pip value double CalculatePipValue(string symbol, double lotSize) { int digits = MarketInfo(symbol, MODE_DIGITS); double tickSize = MarketInfo(symbol, MODE_POINT); // Calculate pip value double pipValue = lotSize * tickSize * 10.0; return pipValue; } // Main Expert Advisor function int start() { // Loop through all currency pairs in market watch for (int i = 0; i < SymbolsTotal(false); i++) { string symbol = SymbolName(i, false); // Lot sizes to calculate pip value for double lotSize1 = 0.01; double lotSize2 = 0.1; double lotSize3 = 1.0; // Calculate pip value for each lot size double pipValue1 = CalculatePipValue(symbol, lotSize1); double pipValue2 = CalculatePipValue(symbol, lotSize2); double pipValue3 = CalculatePipValue(symbol, lotSize3); // Print results to the console Print("Symbol: ", symbol); Print("Lot Size 0.01 / 1 pip = $", pipValue1); Print("Lot Size 0.1 / 1 pip = $", pipValue2); Print("Lot Size 1.0 / 1 pip = $", pipValue3); Print("------------------------------------"); } return(0); }
SureSwitch over to the big boys side of things. Actual physical commodity trading. How about we have a quick chat about it?
I am sure this would do wonders with an hft algo.Like this?
MQL4://+------------------------------------------------------------------+ //| MyPipValue | //| | //+------------------------------------------------------------------+ #property strict // Function to calculate pip value double CalculatePipValue(string symbol, double lotSize) { int digits = MarketInfo(symbol, MODE_DIGITS); double tickSize = MarketInfo(symbol, MODE_POINT); // Calculate pip value double pipValue = lotSize * tickSize * 10.0; return pipValue; } // Main Expert Advisor function int start() { // Loop through all currency pairs in market watch for (int i = 0; i < SymbolsTotal(false); i++) { string symbol = SymbolName(i, false); // Lot sizes to calculate pip value for double lotSize1 = 0.01; double lotSize2 = 0.1; double lotSize3 = 1.0; // Calculate pip value for each lot size double pipValue1 = CalculatePipValue(symbol, lotSize1); double pipValue2 = CalculatePipValue(symbol, lotSize2); double pipValue3 = CalculatePipValue(symbol, lotSize3); // Print results to the console Print("Symbol: ", symbol); Print("Lot Size 0.01 / 1 pip = $", pipValue1); Print("Lot Size 0.1 / 1 pip = $", pipValue2); Print("Lot Size 1.0 / 1 pip = $", pipValue3); Print("------------------------------------"); } return(0); }Post automatically merged:
Sure
I'd recommend to look intoLike this?
MQL4://+------------------------------------------------------------------+ //| MyPipValue | //| | //+------------------------------------------------------------------+ #property strict // Function to calculate pip value double CalculatePipValue(string symbol, double lotSize) { int digits = MarketInfo(symbol, MODE_DIGITS); double tickSize = MarketInfo(symbol, MODE_POINT); // Calculate pip value double pipValue = lotSize * tickSize * 10.0; return pipValue; } // Main Expert Advisor function int start() { // Loop through all currency pairs in market watch for (int i = 0; i < SymbolsTotal(false); i++) { string symbol = SymbolName(i, false); // Lot sizes to calculate pip value for double lotSize1 = 0.01; double lotSize2 = 0.1; double lotSize3 = 1.0; // Calculate pip value for each lot size double pipValue1 = CalculatePipValue(symbol, lotSize1); double pipValue2 = CalculatePipValue(symbol, lotSize2); double pipValue3 = CalculatePipValue(symbol, lotSize3); // Print results to the console Print("Symbol: ", symbol); Print("Lot Size 0.01 / 1 pip = $", pipValue1); Print("Lot Size 0.1 / 1 pip = $", pipValue2); Print("Lot Size 1.0 / 1 pip = $", pipValue3); Print("------------------------------------"); } return(0); }Post automatically merged:
Sure
MarketInfo(Symbol(), MODE_TICKVALUE)
to simplify the matter.//-----Like this?
MQL4://+------------------------------------------------------------------+
Thanks for the code. What does "tv/mr", "atr" and "rv" mean?//-----
//+------------------------------------------------------------------+ //| tick value.mq4 | //| https://youtu.be/hk8BSXxEvig?si=d1-vqNreEF5HieLl | //| https://www.youtube.com/@hayseedfx | //| hayseedfx.com | //+------------------------------------------------------------------+ //+------------------------------------------------------------------+ //| Script program start function | //+------------------------------------------------------------------+ void OnStart() { //--- ChartSetInteger(0, CHART_SHOW_PRICE_SCALE, 0, false); ChartSetInteger(0, CHART_SHOW_TRADE_LEVELS, 0, false); ChartSetInteger(0, CHART_SHOW_BID_LINE, 0, false); ChartSetInteger(0, CHART_COLOR_BACKGROUND, White); ChartSetInteger(0, CHART_COLOR_FOREGROUND, White); ChartSetInteger(0, CHART_COLOR_CANDLE_BEAR, White); ChartSetInteger(0, CHART_COLOR_CANDLE_BULL, White); ChartSetInteger(0, CHART_COLOR_CHART_DOWN, clrWhite); ChartSetInteger(0, CHART_COLOR_CHART_LINE, clrNONE); ChartSetInteger(0, CHART_COLOR_CHART_UP, White); ChartSetInteger(0, CHART_COLOR_ASK, White); ChartSetInteger(0, CHART_COLOR_BID, White); ChartSetInteger(0, CHART_COLOR_GRID, White); //----- string columns[] = {"symbol", "tick value", "margin req", "tv/mr", "atr", "rv", "Pips Value/Lot 0.01", "Pips Value/Lot 0.1", "Pips Value/Lot 1"}; int size = ArraySize(columns); for (int j = 0; j < size; j++) { Display(columns[j], 100 * j, 1); ObjectSetText(columns[j], columns[j], 10, "Verdana", Black); } int i; int count = SymbolsTotal(true); string symbol = ""; for (i = 0; i < count; i++) { symbol = SymbolName(i, true); Display(symbol, 10, (i * 20) + 20); ObjectSetText(symbol, symbol, 10, "Verdana", Black); Display(symbol + " tickvalue", 100, (i * 20) + 20); ObjectSetText(symbol + " tickvalue", DoubleToStr(MarketInfo(symbol, MODE_TICKVALUE), 2), 10, "Verdana", Black); Display(symbol + " margin required", 200, (i * 20) + 20); ObjectSetText(symbol + " margin required", DoubleToStr(MarketInfo(symbol, MODE_MARGINREQUIRED), 2), 10, "Verdana", Black); Display(symbol + " mr/tv", 300, (i * 20) + 20); ObjectSetText(symbol + " mr/tv", DoubleToStr((MarketInfo(symbol, MODE_TICKVALUE) / MarketInfo(symbol, MODE_MARGINREQUIRED)) * 100, 2), 10, "Verdana", Black); double atr = iATR(symbol, 1440, 50, 1) / MarketInfo(symbol, MODE_POINT) * 0.1; Display(symbol + " atr", 400, (i * 20) + 20); ObjectSetText(symbol + " atr", DoubleToStr(atr, 0), 10, "Verdana", Black); double rv = (MarketInfo(symbol, MODE_TICKVALUE) / MarketInfo(symbol, MODE_MARGINREQUIRED)) * 100 * atr; Display(symbol + " rv", 500, (i * 20) + 20); ObjectSetText(symbol + " rv", DoubleToStr(rv, 2), 10, "Verdana", Black); // Calculate Pips value for different lot sizes double pips_001 = MarketInfo(symbol, MODE_POINT) * 0.01; double pips_01 = MarketInfo(symbol, MODE_POINT) * 0.1; double pips_1 = MarketInfo(symbol, MODE_POINT) * 1.0; //double pips_001 = MarketInfo(symbol, MODE_TICKVALUE) * 0.01; //double pips_01 = MarketInfo(symbol, MODE_TICKVALUE) * 0.1; //double pips_1 = MarketInfo(symbol, MODE_TICKVALUE) * 1.0; Display(symbol + " Pips Value/Lot 0.01", 600, (i * 20) + 20); ObjectSetText(symbol + " Pips Value/Lot 0.01", DoubleToStr(pips_001, 1), 10, "Verdana", Black); Display(symbol + " Pips Value/Lot 0.1", 700, (i * 20) + 20); ObjectSetText(symbol + " Pips Value/Lot 0.1", DoubleToStr(pips_01, 1), 10, "Verdana", Black); Display(symbol + " Pips Value/Lot 1", 800, (i * 20) + 20); ObjectSetText(symbol + " Pips Value/Lot 1", DoubleToStr(pips_1, 1), 10, "Verdana", Black); } } //+------------------------------------------------------------------+ void Display(string name, int x, int y) { ObjectCreate(name, OBJ_LABEL, 0, 0, 0); ObjectSet(name, OBJPROP_CORNER, 0); ObjectSet(name, OBJPROP_XDISTANCE, x); ObjectSet(name, OBJPROP_YDISTANCE, y); ObjectSet(name, OBJPROP_BACK, FALSE); }
Like thisI'd recommend to look intoMarketInfo(Symbol(), MODE_TICKVALUE)
to simplify the matter.
// Calculate Pips value for different lot sizes double pips_001 = MarketInfo(symbol, MODE_TICKVALUE) * 0.01; double pips_01 = MarketInfo(symbol, MODE_TICKVALUE) * 0.1; double pips_1 = MarketInfo(symbol, MODE_TICKVALUE) * 1.0;
//------Thanks for the code. What does "tv/mr", "atr" and "rv" mean?
Here i updated. Is this correct.
its higher for pairs with a high exchange rate against the usd like gbpjpy & euraud and lower for pairs like usdjpy & eurjpyWhich currency pair have highest pips value and lowest Pips value per Standard lot. Can anyone help me a list of currency pairs with pips value (High to Low order)
No, it doesn't work like that. A pip value doesn't depend on the base currency at all. It only depends on the quote currency and the tick size. On the contrary, margin required depends on the base currency (but not the quote currency) and the contract size.its higher for pairs with a high exchange rate against the usd like gbpjpy & euraud and lower for pairs like usdjpy & eurjpy
kinda confused, can U explain briefly?No, it doesn't work like that. A pip value doesn't depend on the base currency at all. It only depends on the quote currency and the tick size. On the contrary, margin required depends on the base currency (but not the quote currency) and the contract size.