This is not as easy as uploading a screenshot. If you do not understand how variables work, you will not understand why variables are used the way they are. Here you have a first example that can be used as an inspiration for what you need. This is my personal martingale doing something very close to what you want:
https://fxdreema.com/shared/6o0uTdg3e