Login Page - Create Account

Support Board


Date/Time: Thu, 16 May 2024 04:14:04 +0000



Post From: Spreadsheet for flattening position

[2024-04-02 19:21:40]
User594974 - Posts: 31
Hi everyone. I've been banging my head against the wall on this...and it's just gotta be something simple.

I enter the market with discretion, but I want to exit based on a condition with a spreadsheet. The exit condition is very simple...just a close below a moving average. However, I can't seem to get it programmed correctly. Can someone please tell me what I'm missing.

For example...if bar closes below moving average (AA3 in spreadsheet)....flatten position.

I even tried creating a color bar based on alert condition. So when Color bar=1 then flatten. But still can't get it to work.

I must be missing something very small....but I can't figure it out.

Global auto trading is on.
Chart auto trading is on.
Practicing in sim so no need to send position to service yet....but I do have it on.

Can someone help me out here.