def CallGEX = Open_Interest() * gamma() * 100;
def PutGEX = Open_Interest() * gamma() * -100;
Plot CallGEX ;
Plot PutGEX = If (IsPut) ;
This is my first time trying any sort of coding/ thinkscript. I've made it in excel but I can't get it in thinkscript. I want to make an options column that runs the "CallGEX" for calls and the "PutGEX" for puts. I don't know the proper syntax to execute my idea I think I need to use IsPut but idk how. Any help would be appreciated.