I am developing a strategy where, among other conditions, I will only enter a LONG position if the Swing indicator informs me of the existence of a Lower Low and, for a SHORT entry, a Higher High signal.
I've been studying the indicator references and posts about Swing on the forum, but I still don't understand how to develop this logic to use it as a filter.
What has been developed so far with the help of the forum is this part of the strategy:
if (mySwing.SwingHigh[0] > 0)
{
{
Print(Time[0]+" Instance # "+i+" bars ago: "+mySwingHighBarsAgo+ " High was: "+High[mySwingHighBarsAgo]);
}
I'm new to C# so I'm at a loss for it. I would greatly appreciate it if such fantastic support could help me.
Attached is a piece of my strategy.
Thanks.
Comment