    

 ## On this page

  

 

 # save

 Last update: 30.07.2026 

public [save](save.md)(fileName: [String](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html), displayName: [String](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html), description: [String](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html), author: [String](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html), saveModel: [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html))

saves the trade study

#### Parameters

fileNamethe .pxt file to save todisplayNamethe name to display in the Project Tree in ModelCenterdescriptiona description of the trade studyauthortrade study data creatorsaveModelif true, include the Model in the trade study file#### Throws

[ModelCenterException](./../-model-center-exception/index.md)