File tree Expand file tree Collapse file tree 1 file changed +1
-10
lines changed
Expand file tree Collapse file tree 1 file changed +1
-10
lines changed Original file line number Diff line number Diff line change @@ -80,22 +80,13 @@ static void Main(string[] args)
8080 TradeResult close = mt5 . OrderClose ( buy . ORDER ) ;
8181 Console . WriteLine ( "Result:" + close . ToString ( ) ) ;
8282
83- //bool result = mt5.TrackOHLC(new List<string>() { asset.NAME },TimeFrame.PERIOD_M1);
84- //bool result2 = mt5.TrackPrices(new List<string>() { asset.NAME });
85- //bool result3 = mt5.TrackOrderEvent(true);
86-
8783 Console . WriteLine ( "Finished!" ) ;
8884 }
8985 catch ( Exception ex )
9086 {
9187 Console . WriteLine ( $ "Error: { ex . Message } ") ;
9288 return ;
9389 }
94-
95- //do
96- //{
97- // System.Threading.Thread.Sleep(1000);
98- //} while (true);
9990 }
10091
10192 private static void Tt_OnOrderEvent ( object ? sender , OrderEvent e )
@@ -118,4 +109,4 @@ private static void Tt_OnConnect(object? sender, EventArgs e)
118109 Console . WriteLine ( $ "Connected!") ;
119110 }
120111 }
121- }
112+ }
You can’t perform that action at this time.
0 commit comments