Replies

344260146
11 Nov 2017, 15:49

RE:

Panagiotis Charalampous said:

Dear Trader,

Thanks for your post. Unfortunately it is not clear what you are asking for. Are you trying to start the Timer with shorter intervals? If yes, then you can use the Start method overload that takes as input a TimeSpan instead of seconds. See below an example how to set the TimeSpan to 500 milliseconds.

 Timer.Start(new TimeSpan(0, 0, 0, 0, 500));

Best Regards,

Panagiotis

Wow, thank you! Panagiotis! I've read your article, you're too bad, and this answer is what I need. I'm sorry that I can't make myself clear, because it's all through translation.
Now I have a new problem, and I need to read every value in the CSV file, but I can't find the code.
The code File.ReadAllText (Filepath) will read all the data at once, not what I need. I need to read them one by one.


@344260146

344260146
04 Nov 2017, 23:41

PlaceStopOrder(TradeType tradeType, Symbol symbol, long volume, double targetPrice, string label, double? stopLossPips, double? takeProfitPips, DateTime? expiration, string comment) 

Example

    PlaceStopOrder(TradeType.Sell, Symbol, 1000, MarketSeries.Close.LastValue- (Symbol.PipSize * 10), “Label”, 22, 66);

PlaceLimitOrder ………………………………………………


@344260146