Replies

falkyw
23 Jun 2021, 14:53

RE: RE: RE: RE: RE: Gratitude

Thanks
But I needed the code to open an order after the closing of 3 candles on the Renko chart.
But I don't think that would be possible, I will have to modify my robot strategy.
Still thank you very much for your help.

 


@falkyw

falkyw
21 Jun 2021, 13:52 ( Updated at: 22 Jun 2021, 04:05 )

RE: RE: RE: Gratitude

But, I intended to open a new buy or sell position after closing 3 candles.

Specifically on the renko chart.This mod would be for closing the position, right?


@falkyw

falkyw
17 Jun 2021, 11:49

RE: Gratitude

amusleh said:

Hi,

You can open a buy/sell market order by using ExecuteMarketOrder method, and you can pass the stop loss/take profit in Pips.

The order will be executed based on symbol bid/ask price, check the code examples of Position.

You can use OnBar method on a Renko chart to execute your orders per bar, or use the OnTick method to count the Pips by your self.

Thank you for answering  Amusleh
Can I execute a new order after the closing of 3 candles on the renko chart of pips? (without third party indicators)
What would be the coding for this?


@falkyw