Premium Only Content
 
			Tutorial 165 | Creating to a button to stop a strategy making trades
Tutorial 165 looks at how a strategy can be paused without changing the status of a strategy applied to real-time bars on a chart. In this tutorial the demo strategy is paused from generating trades by the click of a button.
The simple 'dummy' strategy in the tutorial generates market orders based on a counter. A condition for an order to take place is when the Boolean variable 'Trade' is set to TRUE. The Boolean variable is switched between true and false by clicking a button.
The tutorial demonstrates how to create a simple form and button. It also shows how to create and use a button click event. The form and button are initially created using the 'Add Form' capability and then using the visual design tools. Once the code is created it is copied from the 'Designer Generated Code' area into a strategy. The form is then deleted from the 'Resource View.'
- 	
				 4:50 4:50HE3604 years agoAppGameKit Tutorial 1 - Creating a Background61
- 	
				 1:51 1:51smartObjx4 years agosmartObjx Tutorial - Creating a Calculation Rule10
- 	
				 48:24 48:24GalFridayStamping4 years agoWinter Woods Card Making Tutorial46
- 	
				 8:04 8:04Craft by Kathleen4 years agoJewellery Tutorial 2 - Making a Frame and Wirewrapping952
- 	
				 6:04 6:04Performing in an Academic Environment4 years ago $0.05 earnedMicrosoft Word Tutorial - Creating a Table of contents1142
- 	
				 3:12 3:12OffroadTracks4 years agoOffroad Tracks Tutorial Creating Track Files with CalTopo207
- 	
				 7:50 7:50OpenLP Guru4 years agoTutorial 2: Creating and Editing Songs in OpenLP26
- 	
				 2:01 2:01WFTS4 years agoConstruction boom creating more job opportunities in multiple trades131
- 	
				 0:58 0:58BANG Gaming En4 years agoPanic Button is interested in making a Nintendo Switch port of ‘Valheim’10
- 	
				 29:10 29:10Lynda Cromar Online Training5 years agoPower Lead System Creating A Money Making Capture Fast29