Skip to content

GURU.Ciao()

cTrader GURU edited this page Feb 26, 2020 · 1 revision

Semplice funzione dimostrativa per principianti, esprime il concetto di istanza :

using System;  
using cAlgo.API;  
using cTrader_GURU;  
  
namespace cAlgo.Robots  
{  

    [Robot(TimeZone = TimeZones.UTC, AccessRights = AccessRights.None)]  
    public class TestDLL : Robot  
    {  
      
	    protected override void OnStart()  
	    {  
	      
		    GURU hello = new GURU();  
		      
		    Print(hello.Ciao());	

		    // --> Hello World !

		    Stop();		      

	    }        

    }    

}

Clone this wiki locally