Specification

```
def moving_average_crossover(prices, short_window, long_window):
    short_ma = prices.rolling(window=short_window).mean()
    long_ma = prices.rolling(window=long_window).mean()
    
    signals = np.where(short_ma > long_ma, 1, 0)
    signals = np.where(short_ma < long_ma, -1, signals)
    
    return signals

# Example usage:
prices = pd.Series([...])  # Replace with your price data
short_window = 50
long_window = 200
signals = moving_average_crossover(prices, short_window, long_window)

```
Similar orders
I have a custom signal type indicator that was converted from MT4 to MT5. Initially the MT5 version appeared to function the same, but after checking closer and doing deeper comparisons of the signals, I noticed that the MT5 version is not functioning exactly the same as the MT4 version, and the signals are slightly different. Both the MT4 and MT5 versions need to function exactly the same and have the same signal
Hello there coders/developers i am looking for someone who can plot reversal pre alert which is based on combining Heiken Ashi and Candlesticks The indicator will just give pre alert signals as my phase one, the phase 2 will be communicated where sell signal alert will be given, for now i just need to plot phase one check attached sample image
Check the requirements before you send offer and make sure you can do it before you send offer I need an expert to convert my tradingview pine script to mql5 My budget for this is $20 // @version= 2 study ( "TrendAlert" , overlay = false ) // Trend and direction determination Step 1 en Step 2 method conform ZoneRecovery from 4x-dat.com Joseph Nemeth // https://www.youtube.com/watch?v=YxDAYtlQjBM // step 1 LongTerm
i want someone to make my robot. i want to automate my trading strategy. contact me asap . i want a strategy in which i need very fast and accurate exicution. i want to trade with very low slippage insta=forex_wizard_1
I have a partially completed Forex ea script in .txt format that is missing about 20% code, followed by debugging. Then to convert and deliver in in .mql4 format. It uses custom trend following indicators that I possess already. Anyone willing to finish the job in about a day please contact me Below I have attached the incomplete script plus 2 custom indicators used
I have total 10 strategies i want to make treading bot for each of the strategies. all the strategies are based on indicators and candlestick please give your proposal with total time and total cost of full project and start you first msg with all the details and "HELLO ${Your country}" for my response
1. Price touch to activate the Indicator: True//False 2. Price: ........ 3. Expiry time (in minutes): 120 (default) "Price touch activate Indicator" means price must touch a specified price level on the chart before the indicator can start printing buy or sell signal or sending me signal notifications. "Price" is the specified price level on the chart which I'll manually input in that space. "Expiry time" is the time
Hello, All my accounts are fully automated using an EA, and I’m looking for a solution to identify when there are more than 150 open positions across the accounts. The solution could include notifications, emails, alerts, or any other effective method. While I monitor all accounts and positions using live data and can see when this number is reached, I’d like to receive a real-time alert when it happens. Please let
Hi I am looking for my TV strategy to be turned into an automated EA. i will provide the scripts for you to take a look, I believe it requires NinjaTrader 8 due to it's fiddly nature. Please see the attached scripts which make up the strategy I would like the EA for. Please feel free to apply them in your Trading View to see the logic. I am exclusively using this on XAUUSD only
Hello Great Developer Hi I am looking for my TV strategy to be turned into an automated EA. Should i will provide the scripts for you to take a look, I believe it requires NinjaTrader 8 due to it's fiddly nature. Please see the attached scripts which make up the strategy I would like the EA for. Please feel free to apply them in your Trading View to see the logic. I am exclusively using this on XAUUSD only on the

Project information

Budget
30+ USD
For the developer
27 USD
Deadline
to 300 day(s)