Forum

determination of positions' profits

Hello. As soon as the sum of my open buying positions reaches $ 100 profit, including all fees, I want to work closeallbuying() void. I was unable to prepare a code that could work for this. I would be very happy if someone could help me

active position price

i'm new and hung out somewhere. I would be glad if you help. If the close price is up to 20 higher than my active end position, I would like to reopen new position. How can I assign my last active position price to a variable? and "If the last candle closing price has increased at least 20 from my

Only 1 position open and only this position close.. Help me for Magic Number Please... :/

I'm new and I'm trying to move forward. Please help me. 1) I want to open only 1 position for this signal using "void " but I couldn't. :( 2) I have more than one signal. and I have a separate close signal for each signal. So I think I need to record the magic number and I need to use this magic

Only 1 position open and only this position close.. Help me for Ticket numbers please..

I'm new and I'm trying to move forward. Please help me. 1) I want to open only 1 position for this signal using "if function " but I couldn't. :( 2) I have more than one signal. and I have a separate shutdown signal for each signal. So I think I need to record the ticket number and I need to use

Help me please about [invalid Volume] fail :(

failed CTrade::OrderSend: instant buy 0.01 EURUSD at sl: ..... [ invalid volume ] Hello masters. I am new among you. When I try to put stop loss on my little robot, after a while I get this error. Can someone arrange this for me as it should be? so that I can learn something new. I apologize in