finding PipValue

 
Hi 
How can I gain the pip value of any currency pair ?
its not problem if its with 1 , 0.1 Or 0.01 Lot 

is there any prepared code for it in MQL ?
Or I should write code to calculate it ?
 

is this what u want ??


https://www.mql5.com/en/code/12418

Simple Pip Value Calculator
Simple Pip Value Calculator
  • votes: 23
  • 2015.02.13
  • Stuart Browne
  • www.mql5.com
"How much is a 1 pip movement on EURUSD (or any pair) worth in my currency?" - here's the answer!
 
forextime8:

is this what u want ??


https://www.mql5.com/en/code/12418


Thank you very much 
I tried to writ codes for calculating it but it wasn't successfull

I will check it

thanks a lot 

 
Wahirapol Kankav:
no


Thank you man but it wasn't helpful by saying just "NO".
No what ?
there were 3 questions that 2 of them was y/n questions.

by the way thank you for your answer 

 

Reza nasimi: How can I gain the pip value of any currency pair ?
its not problem if its with 1 , 0.1 Or 0.01 Lot

There is no such thing as "pip value." There is PIP (a distance) and value per lot (depends on the symbol and account currency.)
  1. PIP: see How to manage JPY pairs with parameters? - MQL4 and MetaTrader 4 - MQL4 programming forum #2 (#3 for metals)
  2. Value per lot: DeltaPerLot
    • You place the stop where it needs to be - where the reason for the trade is no longer valid. E.g. trading a support bounce the stop goes below the support.
    • Account Balance * percent/100 = RISK = OrderLots * (|OrderOpenPrice - OrderStopLoss| * DeltaPerLot + CommissionPerLot) (Note OOP-OSL includes the SPREAD, and DeltaPerLot is usually around $10/pip but it takes account of the exchange rates of the pair vs. your account currency.)
    • Do NOT use TickValue by itself - DeltaPerLot
    • You must normalize lots properly and check against min and max.
    • You must also check FreeMargin to avoid stop out
Reason: