- Joined
- 17 June 2019
- Posts
- 19
- Reactions
- 0
Hi all,
In the below I am trying to get "up" or "dn" ...see the column has dn, but I can't get the up to work...any ideas? Up = above 1 and down = below one in the column to the left of the missing up signals. TIA.
Filter = 1; // all bars
x = ROC (C, 30);
y = ROC (C, 70);
z = ROC (C, 100);
today = x + y + z;
today1 = Remap(today, -100, 100, 0, 2);
TextList = "up\ndn";
TextSelector = 1 * (today1<1) + 2 * (today1>1);
AddMultiTextColumn(TextSelector, TextList, "direction" );
In the below I am trying to get "up" or "dn" ...see the column has dn, but I can't get the up to work...any ideas? Up = above 1 and down = below one in the column to the left of the missing up signals. TIA.
Filter = 1; // all bars
x = ROC (C, 30);
y = ROC (C, 70);
z = ROC (C, 100);
today = x + y + z;
today1 = Remap(today, -100, 100, 0, 2);
TextList = "up\ndn";
TextSelector = 1 * (today1<1) + 2 * (today1>1);
AddMultiTextColumn(TextSelector, TextList, "direction" );