Input for block Buy
-
Hello,
The following picture shows the block Buy. This contains an input. The input is -200 pips. Is the value -200 pips a string, integer, double?
I need a way to optimize this expression -200 pips or to import the -200 pips from another block?
The risk per trade must be the same.
-
what happened when you tried as string?
-
@miro1360 If I indirectly define a variable as a string and send it to the block buy, then the stop is placed under the candle. What I want is that the stop is put under the candle plus a pip value. For that I need help. I do not want to enter the string value directly into the block, but it should be optimized later with the optimizer.
0_1516189982265_test_Buy adjustment.mq4 -
@miro1360 .... Even if I send directly with a constant, which is defined as a string in the block buy, I do not get the Ergebenis that is the stop -200 pips below the candle.
-
in that case it is not working and you need to do something another ... this is working

-
@miro1360
Hi Miro, you are God,
great, have been fumbling for quite a while. Is working!!!!
Thank you for your help!