Forum: MultiCharts
November 12th, 2018, 04:20 AM
|
Replies: 4
Views: 2,305
my2108,
I am not sure I follow you...
my2108,
I am not sure I follow you correctly. The code example you posted below has the first if statement starting with: "if var1 = -1 then" i.e. it is only executed when you are in a short...
|
Forum: MultiCharts
October 29th, 2018, 04:14 AM
|
Replies: 4
Views: 2,305
my2108,
in Multicharts PowerLanguage "Sell"...
my2108,
in Multicharts PowerLanguage "Sell" refers to exiting a long position and "BuyToCover" is the cover of a short position.
The code you posted checks for the MarketPosition being 1 i.e....
|