Login Page - Create Account

Support Board


Date/Time: Fri, 03 May 2024 20:52:48 +0000



Post From: Help with spreadsheet trading ( double heiken ashi system )

[2018-03-31 08:55:26]
User701453 - Posts: 176
You asked
does anyone have any idea how I can get it not to trigger order if it already in a position that direction?
The link provided the solution to your question.

The additional requirements/issues were not included in the original question.

( only change when new cell update different trend)
=IF("last cell=GREEN",1,IF("double red",0 ,IF(ISBLANK($H$4),0 ,$H$4)))

I use the above pesudo code block to lock a cell to a value in my own spreadsheets.
The value"1" does not change until an event happens that sets it back to "0".
You will need to modify to fit you code block.


that link work if you have the bot going and it already in a trend and limit the entry not to trade 2nd or 3th.But - if you start the bot in between ... then it will trigger the 1st trade ... on the 2nd signal ( i only want to enter on the first signal regardless when you start the bot)

Since your BOT takes a trade in the middle of the trend when you first start it up.
Then your code must have already established a valid trend direction.

So you will need to write code to ignore any trade signal,until there is a "NEW" trend change..
Once a new trend change occurs, then allow processing of the first trading signal using the link previously provided.
I would suggest you review the entire support page that links refers to.
Not just that one particular code block.
Date Time Of Last Edit: 2018-03-31 08:58:50