get the pip price in the current pair (Solved)
-
How can I get the price of the pip in the current pair and put it in a variable?
-
@xyon126 AFAIK it is already embedded into the fxDreema code:
-
@l-andorrà Sorry, I think I have explained myself wrong, what I need when I say the value of the pip of the pair is for example in the EURUSD pair the pip is usually worth € 0.981, it is this value that I need. The reason is to be able to calculate the lot in a Stop Loss for example of 20 pips and that the risk is € 10, which is the lot I have to place, for that I need it and be able to put it in a variable for the calculation.
-
@xyon126 Then you can try this:

-
@l-andorrà Thanks a lot @l-andorrà . But it does not work for me for what I need, perhaps I have explained myself wrong, what I want to do is put a button on a panel with the amount of € that I want to have as a maximum risk depending on the size of the STOP LOSS, that is, either 20 pips the SL or 10 pips that the risk is always € 5; Is there a block that can do this or that can put that value in a variable for calculation?
-
@xyon126 No. I'm afraid you will have to create a specific block structure to get that final value into a variable.
-
@l-andorrà Thanks I have already found it, it is direct.

-
@xyon126 Then I certainly didn't understand you. That was one of my first options.
Sorry for that. -
@l-andorrà Tranquilo, pense que no lo conocias y al descubrirlo lo he posteado.
