The system include 3 indicator in a chart 5 minute periods
Cross moving average
Moving average simple 12 period of the close (fast MA)
Moving average simple12 period of the median price (slow MA)
Slow Stochastic
Slow sthocastic of 14 period with %K=3 and %D=5 (all simple MA)
Overbought level=65
Oversold level =35
Momentum
Momentum of the close of 26 periods
ENTRY BUY SIGNAL :When FastMA cross up SlowMA and Momentum>0 and %K cross overbought level I will buy (stop loss 15 points,stop profit 15 points)
EXIT BUY SIGNAL : When one of the 3 conditions to buy falls(FastMA cross down SlowMA or Momentum<0 or %K cross %D)
ENTRY SELL SIGNAL :When FastMA cross down SlowMA and Momentum<0 and %K cross oversold level I will sell (stop loss 15 points,stop profit 15 points)
EXIT SELL SIGNAL : When one of the 3 conditions to sell falls(FastMA cross up SlowMA or Momentum>0 or %K cross %D)
In my programm there is also sound and alert to advise the operator that a buy or sell is imminent.
If you cannot help me please let me know how can I do it by myself,which programm or manual I have to download to programm my trading system.
If is possible have this system on the platform,after I chweck it in the demo I will suscribe I will open an account with strategy runner platform.
{Edit this section to your preferences.}
{Control Error}
Barnum:= BarCount();
Err:= (tp1=0) or (tp2=0) or (mtPr=0) or (K=0) or (D=0) or (stochsl=0);
{Moving Averages}
ShortMA:= mov(pr1,tp1,mTp1);
LongMA:= mov(pr2,tp2,mTp2);
{Slow Stochastic Oscillator}
StK:= ((C-LLV(L,K))/(HHV(H,K)-LLV(L,K)))*100;
StDK:= Mov(StK,stochSl,MtK);
StDD:= Mov(StDK,D,DMt);
StochUp:= 65;
StochDown:= 35;
{Momentum}
Mom:= mPr - Ref(mPr,-mtPr);
zeroline:= 0;
{Do NOT change the NAMES of the Variables below.
If you Changed The NAMES of Indicator1 or Indicator2,
you will have to change them below.}
{Define Final Trade Entry/Exit Criteria}
LongEntryCond1:= ShortMA>LongMA;
LongEntryCond2:= Cross(StDK,StochUp);
LongEntryCond3:= Mom>zeroline;
LongExitCond1:= Cross(StDD,StDK);
LongExitCond2:= ShortMA<LongMA;
LongExitCond3:= Mom<zeroline;
ShortEntryCond1:= ShortMA<LongMA;
ShortEntryCond2:= Cross(StochDown,StDK);
ShortEntryCond3:= Mom<zeroline;
ShortExitCond1:= Cross(StDK,StDD);
ShortExitCond2:= ShortMA>LongMA;
ShortExitCond3:= Mom>zeroline;
LongEntrySetup:= LongEntryCond1 AND LongEntryCond2 AND LongEntryCond3;
LongExitSetup:= LongExitCond1 OR LongExitCond2 OR LongExitCond3;
ShortEntrySetup:= ShortEntryCond1 AND ShortEntryCond2 AND ShortEntryCond3;
ShortExitSetup:= ShortExitCond1 OR ShortExitCond2 OR ShortExitCond3;
Regards Marino

Comment