algozinitech

MA Cross - MTF AZT

Strategy Premise

This is a simple Moving Average crossover strategy. If the fast MA crosses above the slow MA, buy and if the fast MA crosses below the slow MA, sell.

Strategy Logic

Long Entry: When MA fast > MA slow, send LE

Long Exit: Either when SL or Target is hit. If SL/TGT is not hit, and MA fast < MA slow, send LX and SE

Short Entry: When MA fast < MA slow, send SE

Short Exit: Either when SL or Target is hit. If SL/TGT is not hit, When MA fast > MA slow, send SX and LE

MA Cross Parameters for TradingView Charts

MA Type: Choose whether to use EMA, SMA, WMA, Linear, RMA, VWMA

MA Source: Source for the moving average

Fast MA: Length of fast MA to calculate

Slow MA: Length of slow MA to calculate

Quantity: This is used to specify the trade quantity

Custom Stop Loss in Points: Movement in chart price against the momentum which will trigger exit

Setting Up Alert

Before setting up an alert make sure that You have selected the desired script, timeframe, strategy settings, API bridge is configured and running. Click in settings add alert and paste {{strategy.order.comment}} in the message box.

Important: do not change any settings during live trading.
نص برمجي محمي
تم نشر هذا النص البرمجي بمصدر غير مفتوح ويمكنك استخدامه بحرية. يمكنك جعله مفضلاً لاستخدامه على الرسم البياني. لا يمكنك مشاهدة أو تعديل كود المصدر الخاص به.
إخلاء المسؤولية

لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.

هل تريد استخدام هذا النص البرمجي على الرسم البياني؟