Hi
Is it possible to have 3 conditions to be met to activate a trade on 3 different time frames ?
Example would be 4hr time frame price is < EMA 20
but must also have 1hr Time frame price is < EMA 20
Also 15 minute time frame price is <EMA 9
Then SELLSHORT X CONTRACTS AT MARKET
Many thanks for your assistance .
TIMEFRAME(4 hour,updateonclose)
c1 = close < average[20,1](close)
//
TIMEFRAME(1 hour,updateonclose)
c2 = close < average[20,1](close)
//
TIMEFRAME(15 minute,updateonclose)
c3 = close < average[9,1](close)
//
TIMEFRAME(default) //can be 15 minutes or lower (but all greater TF's must be a multiple of it)
IF c1 AND c2 AND c3 AND Not OnMarket THEN
SELLSHORT 1 CONTRACT AT MARKET
ENDIF
There you go.