Hi,
I created a customised indicator and then used that indicator to create screener which basically screen the stock once certain indicator conditions are met. My query is not about checking or correcting my code, however it is about why PRT change the code everytime i close system and re-open it?
So, I used the indicator on the stock screen and then use screener to create new screener which select my custom indicator and then i screen stock. Screener work perfectly while my session/desktop app is open. When I complete work then I save everything and close desktop aap. However, when i reopen the app and go back to the screener then it changes the screener code automatically.
as you can see in attached image. the red highlight item on the left side shows that the code is for GDW12 with GDW12, but if you look at the same screen it is actualy for GDW3 & GDW4. In the code modification you can see that system making condition C2 where same indicator is checked against itself which is not what i wanted when i created code.
if you see green highlighted area on left it compares GDW3 with GDW12 and coding also comes out correct, but for some reason system changed the coding for GDW12.
Now, this is happening again and again in custom indicators based screeners. How can i avoid this ?
what am i doing wrong that is causing this issue?
I don’t need code correction. it is the system even though i am saving changing some codes automatically when i reopen it. This doesn’t happen if i have created code using code modifier and it only happens if i use proscreener creation.
thanks